projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Twine: Explicitly default the copy ctor as it's otherwise deprecated in C++11 by...
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
Twine.h
diff --git
a/include/llvm/ADT/Twine.h
b/include/llvm/ADT/Twine.h
index 9e9a4e1ad2c351756352358b6c99924cf72ec4b5..5f8909e88a15183874c0a42c33ba3b056cce87cb 100644
(file)
--- a/
include/llvm/ADT/Twine.h
+++ b/
include/llvm/ADT/Twine.h
@@
-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