Skip to content

Commit 210dad7

Browse files
committed
switched a map emplace call back to insert for Travis
1 parent 3269ac6 commit 210dad7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/GameView.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,8 @@ void DrawingGameVisitor::visit(GameDice& dice) {
491491
static std::map<int, std::pair<float, float>> topLeftOffset;
492492
//construct offset map
493493
for (int i = 1; i < 7; i++) {
494-
topLeftOffset.emplace(i, make_pair(DiceXCoords[(i-1)%3], DiceYCoords[i/4]));
494+
//topLeftOffset.emplace(i, make_pair(DiceXCoords[(i-1)%3], DiceYCoords[i/4]));
495+
topLeftOffset.insert(make_pair(i, make_pair(DiceXCoords[(i-1)%3], DiceYCoords[i/4])));
495496
}
496497

497498

0 commit comments

Comments
 (0)