Browse Source

switched gcc to use c++14 as well

Former-commit-id: 32d9c46192
tempestpy_adaptions
dehnert 9 years ago
parent
commit
7cafd61c38
  1. 2
      CMakeLists.txt
  2. 2
      src/solver/SolveGoal.h

2
CMakeLists.txt

@ -121,7 +121,7 @@ if(CMAKE_COMPILER_IS_GNUCC)
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -funroll-loops")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -funroll-loops")
add_definitions(-DBOOST_RESULT_OF_USE_DECLTYPE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -pedantic -Wno-deprecated-declarations -Wno-unused-local-typedefs")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall -pedantic -Wno-deprecated-declarations -Wno-unused-local-typedefs")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pedantic -Wno-deprecated-declarations")
# Turn on popcnt instruction if desired (yes by default)

2
src/solver/SolveGoal.h

@ -49,7 +49,7 @@ namespace storm {
bool boundIsALowerBound() const {
return (boundType == storm::logic::ComparisonType::Greater |
boundType == storm::logic::ComparisonType::GreaterEqual); ;
boundType == storm::logic::ComparisonType::GreaterEqual);
}
VT thresholdValue() const { return threshold; }
storm::storage::BitVector relevantColumns() const { return relevantColumnVector; }

Loading…
Cancel
Save