Skip to content

Commit

Permalink
Fix imports for newer versions of dmd
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackEdder committed Aug 15, 2015
1 parent c68946b commit 327b5e6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions source/painlessjson/painlessjson.d
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
module painlessjson.painlessjson;

import std.algorithm : map;
import std.string;
import std.conv;
import std.json;
import std.range;
import std.traits;
import std.typecons : TypeTuple;
import std.typecons : TypeTuple, Tuple;
import painlessjson.traits;
import painlessjson.annotations;
import painlessjson.string;

version (unittest)
{
import std.algorithm;
import std.stdio;
import std.stdio : writeln;
import painlessjson.unittesttypes;
import std.typecons;
import dunit.toolkit;

}
Expand Down Expand Up @@ -706,4 +705,4 @@ unittest
auto value = fromJSON!CamelCaseConversion(parseJSON(q{{"was_camel_case":8,"was_underscore":9}}));
assertEqual(value.wasCamelCase, 8);
assertEqual(value.was_underscore, 9);
}
}

0 comments on commit 327b5e6

Please sign in to comment.