Răsfoiți Sursa

BUG: Need to include header <new> to use placement new syntax. Really this should be fixed by replacing the stream buffer to set a new string instead of reconstructing the object, but this will require quite a bit of work to do portably.

Brad King 21 ani în urmă
părinte
comite
9bf52f7001
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      Source/kwsys/kwsys_ios_sstream.h.in

+ 1 - 0
Source/kwsys/kwsys_ios_sstream.h.in

@@ -50,6 +50,7 @@
 // ostringstream and istringstream classes.
 
 # include <@KWSYS_NAMESPACE@/stl/string>
+# include <new> // Need placement operator new.
 
 namespace @KWSYS_NAMESPACE@_ios
 {