[Orxonox-commit 3937] r8611 - code/branches/presentation/src/libraries/core
landauf at orxonox.net
landauf at orxonox.net
Thu May 26 17:09:04 CEST 2011
Author: landauf
Date: 2011-05-26 17:09:03 +0200 (Thu, 26 May 2011)
New Revision: 8611
Modified:
code/branches/presentation/src/libraries/core/Game.cc
Log:
fixed the oldest warning in orxonox
Modified: code/branches/presentation/src/libraries/core/Game.cc
===================================================================
--- code/branches/presentation/src/libraries/core/Game.cc 2011-05-26 15:08:27 UTC (rev 8610)
+++ code/branches/presentation/src/libraries/core/Game.cc 2011-05-26 15:09:03 UTC (rev 8611)
@@ -555,7 +555,7 @@
void Game::loadState(const std::string& name)
{
this->bChangingState_ = true;
- LOKI_ON_BLOCK_EXIT_OBJ(*this, &Game::resetChangingState);
+ LOKI_ON_BLOCK_EXIT_OBJ(*this, &Game::resetChangingState); (void)LOKI_ANONYMOUS_VARIABLE(scopeGuard);
// If state requires graphics, load it
Loki::ScopeGuard graphicsUnloader = Loki::MakeObjGuard(*this, &Game::unloadGraphics);
More information about the Orxonox-commit
mailing list