- fixed : silly GCC errors (thankies Mistress)

--HG--
branch : RLVa
meow-7.2.2
Kitty Barnett 2011-11-17 17:09:06 +01:00
parent a2fd2b0109
commit 693753c465
3 changed files with 6 additions and 3 deletions

View File

@ -160,7 +160,7 @@ class RlvWindLight : public LLSingleton<RlvWindLight>
{
friend class LLSingleton<RlvWindLight>;
public:
RlvWindLight::RlvWindLight();
RlvWindLight();
std::string getValue(const std::string& strSetting, bool& fError);
bool setValue(const std::string& strRlvName, const std::string& strValue);

View File

@ -20,6 +20,9 @@
#include <stack>
#include "rlvcommon.h"
#if LL_GNUC
#include "rlvhelper.h" // Needed to make GCC happy
#endif // LL_GNUC
// ============================================================================

View File

@ -155,8 +155,8 @@ void RlvUIEnabler::onToggleMovement()
void RlvUIEnabler::onToggleSetDebug()
{
bool fEnable = !gRlvHandler.hasBehaviour(RLV_BHVR_SETDEBUG);
for (std::map<std::string, S16>::const_iterator itSetting = RlvExtGetSet::m_DbgAllowed.cbegin();
itSetting != RlvExtGetSet::m_DbgAllowed.cend(); ++itSetting)
for (std::map<std::string, S16>::const_iterator itSetting = RlvExtGetSet::m_DbgAllowed.begin();
itSetting != RlvExtGetSet::m_DbgAllowed.end(); ++itSetting)
{
if (itSetting->second & RlvExtGetSet::DBG_WRITE)
gSavedSettings.getControl(itSetting->first)->setHiddenFromSettingsEditor(!fEnable);