mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 22:43:03 +01:00
Add move constructor as copy elision is not obrigatory in C++14. (#7854)
This commit is contained in:
parent
b4d43d08b2
commit
e2ec47a8ce
@ -149,6 +149,13 @@ public:
|
||||
cachePtr(aCachePtr)
|
||||
{}
|
||||
|
||||
IcuCalendarWrapper(IcuCalendarWrapper&& o)
|
||||
: wrapped(o.wrapped),
|
||||
cachePtr(o.cachePtr)
|
||||
{
|
||||
o.wrapped = nullptr;
|
||||
}
|
||||
|
||||
~IcuCalendarWrapper()
|
||||
{
|
||||
if (wrapped)
|
||||
|
Loading…
Reference in New Issue
Block a user