aboutsummaryrefslogtreecommitdiff
path: root/games/pentobi/files/patch-src_libboardgame__sgf_MissingProperty.cpp
blob: 2f70a2aa5986eba257a7ec00c1c982d96e97efde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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)
 {
 }