Skip to content

Commit

Permalink
Merge pull request #345 from awleffew/compile_error
Browse files Browse the repository at this point in the history
Fix incorrect stringstream syntax.
  • Loading branch information
cbeck88 committed Dec 21, 2014
2 parents b0d7d28 + 3453afc commit 95e88fa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog
Expand Up @@ -436,6 +436,7 @@ Version 1.13.0-dev:
* Multiplayer server can now handle scenarios with more than 9 sides
* [modify_side] controller= now works in networked mp. If a null-controlled side becomes alive by
[modify_side] controller=ai/human then the currently active client will be assiged controll
* Fixed a stingstream syntax error that caused the build to fail in Visual Studio 13

Version 1.11.11:
* Add-ons server:
Expand Down
3 changes: 3 additions & 0 deletions data/core/about.cfg
Expand Up @@ -904,6 +904,9 @@
[entry]
name = "Aaron Keisch-Walter (Exasperation)"
[/entry]
[entry]
name = "Adam Leffew"
[/entry]
[entry]
name = "Adrian Iosif (Zappaman)"
[/entry]
Expand Down
2 changes: 1 addition & 1 deletion src/game_initialization/configure_engine.cpp
Expand Up @@ -20,7 +20,7 @@ configure_engine::configure_engine(saved_game& state) :
if (sides_.first == sides_.second) {
std::stringstream msg;
msg << "Configure Engine: No sides found in scenario, aborting.";
std::cerr << msg;
std::cerr << msg.str();
std::cerr << "Full scenario config:\n";
std::cerr << state_.to_config().debug();
throw game::error(msg.str());
Expand Down
2 changes: 1 addition & 1 deletion src/scripting/application_lua_kernel.cpp
Expand Up @@ -82,7 +82,7 @@ static int intf_describe_plugins(lua_State * L)
<< plugins_manager::get()->get_name(i)
<< "\n";

DBG_LUA << line;
DBG_LUA << line.str();

lua_pushstring(L, line.str().c_str());
lua_call(L, 1, 0);
Expand Down

0 comments on commit 95e88fa

Please sign in to comment.