Skip to content

Commit

Permalink
Attempt to satisfy travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Mar 22, 2017
1 parent 80d8b99 commit 8654079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/dialogs/attack_predictions.cpp
Expand Up @@ -79,7 +79,7 @@ void attack_predictions::set_data(window& window, const combatant_data& attacker
const std::string widget_id_prefix = attacker.stats_.is_attacker ? "attacker" : "defender";

const auto get_prefixed_widget_id = [&widget_id_prefix](const std::string& id) {
return formatter() << widget_id_prefix << "_" << id;
return (formatter() << widget_id_prefix << "_" << id).str();
};

// Helpers for setting or hiding labels
Expand Down

0 comments on commit 8654079

Please sign in to comment.