Core/Misc: Use boost::in_place() to initialize optionals.

* Improves commit 800d5d8939
* Thanks @Shauren for this great suggestion.
This commit is contained in:
Naios
2015-04-27 17:01:30 +02:00
parent 5acc4b14aa
commit d37ecf796e
15 changed files with 28 additions and 27 deletions

View File

@@ -40,6 +40,7 @@
#include <algorithm>
#include <boost/optional.hpp>
#include <boost/utility/in_place_factory.hpp>
#include "Debugging/Errors.h"