Changes in / [976:426a704d7483:974:b1744d7bdb47] in lemon-main
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r976 r966 67 67 # C4996: 'function': was declared deprecated 68 68 ELSE() 69 SET(CXX_WARNING "-Wall ")69 SET(CXX_WARNING "-Wall -W") 70 70 ENDIF() 71 71 ENDIF() … … 74 74 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LEMON_CXX_WARNING_FLAGS}") 75 75 76 SET( CMAKE_CXX_FLAGS_MAINTAINER "-Werror -ggdb -O0" CACHE STRING76 SET( CMAKE_CXX_FLAGS_MAINTAINER "-Werror -ggdb" CACHE STRING 77 77 "Flags used by the C++ compiler during maintainer builds." 78 78 FORCE ) 79 SET( CMAKE_C_FLAGS_MAINTAINER "-Werror -O0" CACHE STRING79 SET( CMAKE_C_FLAGS_MAINTAINER "-Werror" CACHE STRING 80 80 "Flags used by the C compiler during maintainer builds." 81 81 FORCE ) -
lemon/bfs.h
r976 r877 1252 1252 } 1253 1253 _Visitor& visitor; 1254 Constraints() {}1255 1254 }; 1256 1255 }; -
lemon/concepts/graph_components.h
r976 r877 116 116 const _GraphItem &ia; 117 117 const _GraphItem &ib; 118 Constraints() {}119 118 }; 120 119 }; … … 176 175 177 176 const _Digraph& digraph; 178 Constraints() {}179 177 }; 180 178 }; … … 293 291 294 292 const _Graph& graph; 295 Constraints() {}296 293 }; 297 294 … … 373 370 374 371 const _Digraph& digraph; 375 Constraints() {}376 372 }; 377 373 }; … … 426 422 427 423 const _Graph& graph; 428 Constraints() {}429 424 }; 430 425 }; … … 504 499 } 505 500 const GR& g; 506 Constraints() {}507 501 }; 508 502 }; … … 593 587 const Base& node; 594 588 const GR& graph; 595 Constraints() {}596 589 }; 597 590 }; … … 770 763 771 764 const _Digraph& digraph; 772 Constraints() {}773 765 }; 774 766 }; … … 895 887 896 888 const _Graph& graph; 897 Constraints() {}898 889 }; 899 890 }; … … 953 944 954 945 const _Digraph& digraph; 955 Constraints() {}956 946 }; 957 947 }; … … 995 985 996 986 const _Graph& graph; 997 Constraints() {}998 987 }; 999 988 }; … … 1073 1062 const GR &g; 1074 1063 const typename GraphMap::Value &t; 1075 Constraints() {}1076 1064 }; 1077 1065 … … 1212 1200 1213 1201 const _Digraph& digraph; 1214 Constraints() {}1215 1202 }; 1216 1203 }; … … 1298 1285 1299 1286 const _Graph& graph; 1300 Constraints() {}1301 1287 }; 1302 1288 }; … … 1343 1329 1344 1330 _Digraph& digraph; 1345 Constraints() {}1346 1331 }; 1347 1332 }; … … 1388 1373 1389 1374 _Graph& graph; 1390 Constraints() {}1391 1375 }; 1392 1376 }; … … 1428 1412 1429 1413 _Digraph& digraph; 1430 Constraints() {}1431 1414 }; 1432 1415 }; … … 1468 1451 1469 1452 _Graph& graph; 1470 Constraints() {}1471 1453 }; 1472 1454 }; … … 1497 1479 1498 1480 _Digraph& digraph; 1499 Constraints() {}1500 1481 }; 1501 1482 }; … … 1526 1507 1527 1508 _Graph& graph; 1528 Constraints() {}1529 1509 }; 1530 1510 }; -
lemon/concepts/heap.h
r976 r877 315 315 _Heap& heap; 316 316 ItemIntMap& map; 317 Constraints() {}318 317 }; 319 318 }; -
lemon/concepts/maps.h
r975 r718 69 69 const typename _ReadMap::Key& own_key; 70 70 const _ReadMap& m; 71 Constraints() {}72 71 }; 73 72 … … 111 110 const typename _WriteMap::Value& own_val; 112 111 _WriteMap& m; 113 Constraints() {}114 112 }; 115 113 }; … … 132 130 /// Returns the value associated with the given key. 133 131 Value operator[](const Key &) const { 134 Value *r = 0; 135 return *r; 132 return *static_cast<Value *>(0); 136 133 } 137 134 … … 173 170 /// Returns a reference to the value associated with the given key. 174 171 Reference operator[](const Key &) { 175 Value *r = 0; 176 return *r; 172 return *static_cast<Value *>(0); 177 173 } 178 174 179 175 /// Returns a const reference to the value associated with the given key. 180 176 ConstReference operator[](const Key &) const { 181 Value *r = 0; 182 return *r; 177 return *static_cast<Value *>(0); 183 178 } 184 179 … … 211 206 typename _ReferenceMap::ConstReference own_cref; 212 207 _ReferenceMap& m; 213 Constraints() {}214 208 }; 215 209 }; -
lemon/concepts/path.h
r976 r785 169 169 } 170 170 _Path& p; 171 PathDumperConstraints() {}172 171 }; 173 172 … … 195 194 } 196 195 _Path& p; 197 PathDumperConstraints() {}198 196 }; 199 197 -
lemon/dfs.h
r976 r966 1194 1194 } 1195 1195 _Visitor& visitor; 1196 Constraints() {}1197 1196 }; 1198 1197 };
Note: See TracChangeset
for help on using the changeset viewer.