Skip to content

Commit

Permalink
Fix compile error on old versions of DMD.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-ludwig committed Sep 11, 2024
1 parent acdd436 commit 2e298d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/bench-mongodb/source/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ void main()
}

logInfo("Running queries...");
static struct Q { int i; }
auto dur_query = runTimed({
struct Q { int i; }
foreach (i; 0 .. nqueries) {
auto res = coll.find!Item(Q(5));
res.front;
Expand Down

0 comments on commit 2e298d1

Please sign in to comment.