From cb7641dc34bc61cefa44e9bccfebe02889148528 Mon Sep 17 00:00:00 2001
From: Andrzej Krzemienski
Date: Tue, 14 Feb 2017 23:53:30 +0100
Subject: [PATCH] fixed wrong namespace in docs
---
doc/17_gotchas.qbk | 2 +-
.../gotchas/false_positive_with__wmaybe_uninitialized.html | 2 +-
doc/html/index.html | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
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 b = std::make_optional(false, int());
+ boost::optional b = boost::make_optional(false, int());
This is obviously redundant, but makes the warning disappear.
diff --git a/doc/html/boost_optional/tutorial/gotchas/false_positive_with__wmaybe_uninitialized.html b/doc/html/boost_optional/tutorial/gotchas/false_positive_with__wmaybe_uninitialized.html
index 1ecc562..b2e88af 100644
--- a/doc/html/boost_optional/tutorial/gotchas/false_positive_with__wmaybe_uninitialized.html
+++ b/doc/html/boost_optional/tutorial/gotchas/false_positive_with__wmaybe_uninitialized.html
@@ -55,7 +55,7 @@
Stack Overflow question) use the following way of initializing
an optional containing no value:
-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 |
|