0
4
0
... | ... |
@@ -15,2 +15,11 @@ |
15 | 15 |
|
16 |
IF(MSVC) |
|
17 |
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4250 /wd4355 /wd4800 /wd4996") |
|
18 |
# Suppressed warnings: |
|
19 |
# C4250: 'class1' : inherits 'class2::member' via dominance |
|
20 |
# C4355: 'this' : used in base member initializer list |
|
21 |
# C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning) |
|
22 |
# C4996: 'function': was declared deprecated |
|
23 |
ENDIF(MSVC) |
|
24 |
|
|
16 | 25 |
IF(GLPK_FOUND) |
... | ... |
@@ -172,3 +172,3 @@ |
172 | 172 |
checkConcept<ReadMap<B,double>, CompMap>(); |
173 |
CompMap map1(DoubleMap(),ReadMap<B,A>()); |
|
173 |
CompMap map1 = CompMap(DoubleMap(),ReadMap<B,A>()); |
|
174 | 174 |
CompMap map2 = composeMap(DoubleMap(), ReadMap<B,A>()); |
... | ... |
@@ -185,3 +185,3 @@ |
185 | 185 |
checkConcept<ReadMap<A,double>, CombMap>(); |
186 |
CombMap map1(DoubleMap(), DoubleMap()); |
|
186 |
CombMap map1 = CombMap(DoubleMap(), DoubleMap()); |
|
187 | 187 |
CombMap map2 = combineMap(DoubleMap(), DoubleMap(), std::plus<double>()); |
... | ... |
@@ -197,3 +197,3 @@ |
197 | 197 |
FunctorToMap<F> map1; |
198 |
FunctorToMap<F> map2(F()); |
|
198 |
FunctorToMap<F> map2 = FunctorToMap<F>(F()); |
|
199 | 199 |
B b = functorToMap(F())[A()]; |
... | ... |
@@ -201,3 +201,3 @@ |
201 | 201 |
checkConcept<ReadMap<A,B>, MapToFunctor<ReadMap<A,B> > >(); |
202 |
MapToFunctor<ReadMap<A,B> > map(ReadMap<A,B>()); |
|
202 |
MapToFunctor<ReadMap<A,B> > map = MapToFunctor<ReadMap<A,B> >(ReadMap<A,B>()); |
|
203 | 203 |
|
0 comments (0 inline)