]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Redo boost/system commit 241f69c55e. 3315/head
authorDavid Wells <wellsd2@rpi.edu>
Sat, 29 Oct 2016 15:52:53 +0000 (11:52 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 29 Oct 2016 15:52:53 +0000 (11:52 -0400)
This commit from November 2015 silences a GCC warning due to unused
variables.

bundled/boost-1.62.0/include/boost/system/error_code.hpp

index d419f3701b14d536ff007fe2456b3944807eaa34..232464c66e5a9135c142cdc18511a38794bb9920 100644 (file)
@@ -218,9 +218,9 @@ namespace boost
     inline const error_category &  get_system_category() { return system_category(); }
     inline const error_category &  get_generic_category() { return generic_category(); }
     inline const error_category &  get_posix_category() { return generic_category(); }
-    static const error_category &  posix_category = generic_category();
-    static const error_category &  errno_ecat     = generic_category();
-    static const error_category &  native_ecat    = system_category();
+    static const error_category &  posix_category BOOST_ATTRIBUTE_UNUSED = generic_category();
+    static const error_category &  errno_ecat     BOOST_ATTRIBUTE_UNUSED = generic_category();
+    static const error_category &  native_ecat    BOOST_ATTRIBUTE_UNUSED = system_category();
 # endif
 
     //  class error_condition  -----------------------------------------------//

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.