diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index e8bffe6..87c098d 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -60,9 +60,13 @@ jobs: - name: Install clang run: | brew install llvm@16 + cd /opt/homebrew/Cellar/llvm@16/16.0.6 + ls echo 'export PATH="/opt/homebrew/Cellar/llvm@16/16.0.6/bin:$PATH"' >> ~/.zshrc echo 'export CC="-L/opt/homebrew/Cellar/llvm@16/16.0.6/bin/clang"' >> ~/.zshrc echo 'export CXX="-I/opt/homebrew/Cellar/llvm@16/16.0.6/bin/clang++"' >> ~/.zshrc + echo 'export LDFLAGS="-L/opt/homebrew/Cellar/llvm@16/16.0.6/lib"' >> ~/.zshrc + echo 'export CPPFLAGS="-I/opt/homebrew/Cellar/llvm@16/16.0.6/include"' >> ~/.zshrc echo 'alias clang="/opt/homebrew/Cellar/llvm@16/16.0.6/bin/clang"' >> ~/.zshrc source ~/.zshrc brew link --overwrite llvm@16 diff --git a/srcbpatch/actionscollection.cpp b/srcbpatch/actionscollection.cpp index 22d725b..b72ba56 100644 --- a/srcbpatch/actionscollection.cpp +++ b/srcbpatch/actionscollection.cpp @@ -205,7 +205,7 @@ void ActionsCollection::OnJsonObjectParsed(TJSONObject* const pJson) // create binary lexeme from readed data if (const bool added = dictionary_.AddBinaryLexeme(pJson->name_, - AbstractBinaryLexeme::LexemeFromVector(move(adata))); + AbstractBinaryLexeme::LexemeFromVector(std::move(adata))); !added) {// overwritten ReportDuplicateNameError(pJson->name_); diff --git a/srcbpatch/processing.cpp b/srcbpatch/processing.cpp index ee0274e..d591f11 100644 --- a/srcbpatch/processing.cpp +++ b/srcbpatch/processing.cpp @@ -46,7 +46,7 @@ unique_ptr CreateActionsFile(string_view actionsFileName) // Parsing of todo and lexemes // Dictionary will be inside - return unique_ptr(new ActionsCollection(move(adata))); + return unique_ptr(new ActionsCollection(std::move(adata))); }