projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88f45e5
)
Twine: Explicitly default the copy ctor as it's otherwise deprecated in C++11 by...
author
David Blaikie
<dblaikie@gmail.com>
Tue, 3 Mar 2015 18:29:25 +0000
(18:29 +0000)
committer
David 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
patch
|
blob
|
history
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