]> git.donarmstrong.com Git - flightcrew.git/blob - debian/patches/disable_filesystem3_overload
add initial packaging of debian files including patches
[flightcrew.git] / debian / patches / disable_filesystem3_overload
1 --- a/src/FlightCrew/Validators/Opf/ReachabilityAnalysis.cpp
2 +++ b/src/FlightCrew/Validators/Opf/ReachabilityAnalysis.cpp
3 @@ -27,27 +27,27 @@
4  #include "Misc/DetermineMimetype.h"\r
5  #include "Misc/Utilities.h"\r
6  \r
7 -namespace boost\r
8 -{\r
9 -\r
10 -namespace filesystem3\r
11 -{    \r
12 -    // This overload of the boost hash_value func\r
13 -    // is necessary so that we can put fs::paths\r
14 -    // in boost::unordered_sets\r
15 -    std::size_t hash_value( const fs::path &mypath ) \r
16 -    {\r
17 -#ifdef _WIN32\r
18 -        boost::hash< std::wstring > hasher;\r
19 -        return hasher( mypath.generic_wstring() );\r
20 -#else\r
21 -        boost::hash< std::string > hasher;\r
22 -        return hasher( mypath.generic_string() );\r
23 -#endif \r
24 -    }\r
25 -} // namespace filesystem3\r
26 -\r
27 -} // namespace boost\r
28 +// namespace boost\r
29 +// {\r
30 +// \r
31 +// namespace filesystem3\r
32 +// {    \r
33 +//     // This overload of the boost hash_value func\r
34 +//     // is necessary so that we can put fs::paths\r
35 +//     // in boost::unordered_sets\r
36 +//     std::size_t hash_value( const fs::path &mypath ) \r
37 +//     {\r
38 +// #ifdef _WIN32\r
39 +//         boost::hash< std::wstring > hasher;\r
40 +//         return hasher( mypath.generic_wstring() );\r
41 +// #else\r
42 +//         boost::hash< std::string > hasher;\r
43 +//         return hasher( mypath.generic_string() );\r
44 +// #endif \r
45 +//     }\r
46 +// } // namespace filesystem3\r
47 +// \r
48 +// } // namespace boost\r
49  \r
50  \r
51  namespace FlightCrew\r