Skip to content

Commit

Permalink
Explicitly move to C++17
Browse files Browse the repository at this point in the history
  • Loading branch information
dburkart committed Dec 20, 2023
1 parent d204ce4 commit a575274
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.shared
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MAKE = make

CXX ?= clang++ -DYYDEBUG=1
CINCLUDES = -I$(BASE)/gen/ -I$(BASE)/src/ -I$(BASE)/src/AST -I$(BASE)/src/Server
CFLAGS += $(CINCLUDES) -std=c++11 -fPIC -Wno-deprecated-register -DPLATFORM=\"$(ARCH)-$(PLATFORM)\" -Werror -Wall
CFLAGS += $(CINCLUDES) -std=c++17 -fPIC -Wno-deprecated-register -DPLATFORM=\"$(ARCH)-$(PLATFORM)\" -Werror -Wall

ifeq ($(PLATFORM), Darwin)
CFLAGS += -mmacosx-version-min=10.9
Expand Down
2 changes: 1 addition & 1 deletion src/AST/Validation/Test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ bool Test::validate(const ASTNode *node) {
return true;
}

return (this->_validation_fn_map[test->value()])(test);
return (this->*_validation_fn_map[test->value()])(test);
}

std::string Test::usage(const ASTNode *node) {
Expand Down

0 comments on commit a575274

Please sign in to comment.