mirror of
https://github.com/dlang/phobos.git
synced 2025-05-03 00:20:26 +03:00
Fix Issue 19838 - RefCounted fails to instantiate due to pureness of moveEmplace
This commit is contained in:
parent
24209a6cb7
commit
2e408f13ea
1 changed files with 1 additions and 1 deletions
|
@ -1375,7 +1375,7 @@ private T moveImpl(T)(ref T source)
|
||||||
* source = value to be moved into target
|
* source = value to be moved into target
|
||||||
* target = uninitialized value to be filled by source
|
* target = uninitialized value to be filled by source
|
||||||
*/
|
*/
|
||||||
void moveEmplace(T)(ref T source, ref T target) @system
|
void moveEmplace(T)(ref T source, ref T target) pure @system
|
||||||
{
|
{
|
||||||
import core.stdc.string : memcpy, memset;
|
import core.stdc.string : memcpy, memset;
|
||||||
import std.traits : hasAliasing, hasElaborateAssign,
|
import std.traits : hasAliasing, hasElaborateAssign,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue