diff options
Diffstat (limited to 'games/pentobi/files/patch-src_libboardgame__sgf_MissingProperty.cpp')
-rw-r--r-- | games/pentobi/files/patch-src_libboardgame__sgf_MissingProperty.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/games/pentobi/files/patch-src_libboardgame__sgf_MissingProperty.cpp b/games/pentobi/files/patch-src_libboardgame__sgf_MissingProperty.cpp new file mode 100644 index 000000000000..2f70a2aa5986 --- /dev/null +++ b/games/pentobi/files/patch-src_libboardgame__sgf_MissingProperty.cpp @@ -0,0 +1,24 @@ +--- src/libboardgame_sgf/MissingProperty.cpp.orig 2017-06-06 11:23:03 UTC ++++ src/libboardgame_sgf/MissingProperty.cpp +@@ -10,17 +10,19 @@ + + #include "MissingProperty.h" + ++#include <string> ++ + namespace libboardgame_sgf { + + //----------------------------------------------------------------------------- + + MissingProperty::MissingProperty(const string& message) +- : InvalidTree("Missing SGF property: " + message) ++ : InvalidTree(string{"Missing SGF property: "} + message) + { + } + + MissingProperty::MissingProperty(const string& id, const string& message) +- : InvalidTree("Missing SGF property '" + id + ": " + message) ++ : InvalidTree(string{"Missing SGF property '"} + id + ": " + message) + { + } + |