Twine: Explicitly default the copy ctor as it's otherwise deprecated in C++11 by...
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 18:29:25 +0000 (18:29 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 18:29:25 +0000 (18:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231094 91177308-0d34-0410-b5e6-96231b3b80d8

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