mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Fix unused variable warning in non-threadsafe builds
Make lock/scoped_lock (dummy) RAII classes which avoids warnings in clang Make lock and wrapper moveable as they should Make wrapper return itself as reference not copy
This commit is contained in:
parent
4a853f9952
commit
30d756d120
3 changed files with 65 additions and 25 deletions
|
|
@ -74,7 +74,7 @@ script:
|
|||
- cd $PROJECT_DIR/build
|
||||
- export BOOST_ROOT=$BOOST
|
||||
# `--coverage` flags required to generate coverage info for Coveralls
|
||||
- ./build.sh --toolset=$CC "cxxflags=-std=$CXX_STANDARD -Wno-unused-local-typedefs -Wno-unused-variable -Wno-unused-function -Wno-deprecated-declarations --coverage" "linkflags=--coverage"
|
||||
- ./build.sh --toolset=$CC "cxxflags=-std=$CXX_STANDARD -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations --coverage" "linkflags=--coverage"
|
||||
|
||||
after_success:
|
||||
- COVERALS_DIR=$PROJECT_DIR/coverals
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue