diff --git a/doc/17_gotchas.qbk b/doc/17_gotchas.qbk
index 743c5bf..5cfa36b 100644
--- a/doc/17_gotchas.qbk
+++ b/doc/17_gotchas.qbk
@@ -102,7 +102,7 @@ Sometimes on GCC compilers below version 5.1 you may get an -Wmaybe-uninitialize
This is a bug in the compiler. As a workaround (provided in [@http://stackoverflow.com/questions/21755206/how-to-get-around-gcc-void-b-4-may-be-used-uninitialized-in-this-funct this Stack Overflow question]) use the following way of initializing an optional containing no value:
- boost::optional
boost::optional<int> b = std::make_optional(false, int()); +boost::optional<int> b = boost::make_optional(false, int());This is obviously redundant, but makes the warning disappear. diff --git a/doc/html/index.html b/doc/html/index.html index 9c087a2..748486c 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -145,7 +145,7 @@
Last revised: November 24, 2016 at 22:27:48 GMT |
+Last revised: February 14, 2017 at 22:51:08 GMT |