Skip to content

Commit 2e298d1

Browse files
committed
Fix compile error on old versions of DMD.
1 parent acdd436 commit 2e298d1

File tree

1 file changed

+1
-1
lines changed
  • examples/bench-mongodb/source

1 file changed

+1
-1
lines changed

examples/bench-mongodb/source/app.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ void main()
3737
}
3838

3939
logInfo("Running queries...");
40+
static struct Q { int i; }
4041
auto dur_query = runTimed({
41-
struct Q { int i; }
4242
foreach (i; 0 .. nqueries) {
4343
auto res = coll.find!Item(Q(5));
4444
res.front;

0 commit comments

Comments
 (0)