aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-07-14 06:20:09 +0000
committerterminaldweller <thabogre@gmail.com>2021-07-14 06:20:09 +0000
commit5352b4c547902f526e9181314e5efa52a5f2a8ee (patch)
tree0d256d5af8ff47cd81e8264306f60276065ac10c
parentfix for llvm 13 (diff)
downloadcgrep-5352b4c547902f526e9181314e5efa52a5f2a8ee.tar.gz
cgrep-5352b4c547902f526e9181314e5efa52a5f2a8ee.zip
fix for llvm 13
-rw-r--r--cgrep.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgrep.cpp b/cgrep.cpp
index e9ed1df..41ef737 100644
--- a/cgrep.cpp
+++ b/cgrep.cpp
@@ -1106,7 +1106,7 @@ private:
/*Main*/
int main(int argc, const char **argv) {
#if __clang_major__ >= 13
- auto op = CommonOptionsParser.create(argc, argv, CGrepCat);
+ auto op = CommonOptionsParser::create(argc, argv, CGrepCat);
#else
CommonOptionsParser op(argc, argv, CGrepCat);
#endif