Twine: Explicitly default the copy ctor as it's otherwise deprecated in C++11 by...
[oota-llvm.git] / include / llvm / ADT / Twine.h
index 9e9a4e1ad2c351756352358b6c99924cf72ec4b5..5f8909e88a15183874c0a42c33ba3b056cce87cb 100644 (file)
@@ -257,6 +257,8 @@ namespace llvm {
       assert(isValid() && "Invalid twine!");
     }
 
+    Twine(const Twine &) = default;
+
     /// Construct from a C string.
     ///
     /// We take care here to optimize "" into the empty twine -- this will be