mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
Twine: Explicitly default the copy ctor as it's otherwise deprecated in C++11 by the presence of a user-declared copy assignment operator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231094 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
88f45e5ecd
commit
6283687346
@ -257,6 +257,8 @@ namespace llvm {
|
|||||||
assert(isValid() && "Invalid twine!");
|
assert(isValid() && "Invalid twine!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Twine(const Twine &) = default;
|
||||||
|
|
||||||
/// Construct from a C string.
|
/// Construct from a C string.
|
||||||
///
|
///
|
||||||
/// We take care here to optimize "" into the empty twine -- this will be
|
/// We take care here to optimize "" into the empty twine -- this will be
|
||||||
|
Loading…
Reference in New Issue
Block a user