Skip to content

Commit

Permalink
reword emplace deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
monarchdodra committed Aug 25, 2013
1 parent fbf8ae2 commit 6d3fe90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/conv.d
Expand Up @@ -3859,7 +3859,7 @@ private void emplacePostblitter(T, Arg)(ref T chunk, auto ref Arg arg)
typeid(T).postblit(&chunk);
}
}
private deprecated("emplace should not call opCall as a construction scheme. Please use \"emplace(chunk, T(args));\" directly.")
private deprecated("Using static opCall for emplace is deprecated. Plase use emplace(chunk, T(args)) instead.")
void emplaceOpCaller(T, Args...)(T* chunk, auto ref Args args)
{
static assert (is(typeof({T t = T.opCall(args);})),
Expand Down

0 comments on commit 6d3fe90

Please sign in to comment.