Skip to content

Commit

Permalink
Merge pull request ldc-developers#8 from wilsonk/fixUtilityExample
Browse files Browse the repository at this point in the history
Remove alias that is no longer needed in utility example.
  • Loading branch information
Syniurge committed Apr 15, 2015
2 parents 5cacb31 + 1b68d52 commit af54d83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/calypso/libstdc++/utility/utility.d
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
modmap (C++) "<utility>";

import std.stdio;
import (C++) std._ : stlpair = pair;
import (C++) std.pair;
import (C++) std._ : stlmakepair = make_pair;

void main()
{
writeln("utility compiles");

auto p = new stlpair!(int, int);
auto p = new pair!(int, int);
p = stlmakepair!(int,int)(10,20);
writeln("first in pair = ", p.first);
writeln("second in pair = ", p.second);
Expand Down

0 comments on commit af54d83

Please sign in to comment.