mirror of
https://github.com/dlang/phobos.git
synced 2025-05-04 00:54:05 +03:00
Merge pull request #7006 from marcioapm/fix_19838
Fix Issue 19838 - RefCounted fails to instantiate due to pureness of … merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
This commit is contained in:
commit
1a66781127
1 changed files with 1 additions and 1 deletions
|
@ -1374,7 +1374,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