]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/parser_admin.cpp
Define ConstSensor::ToString only in debug build
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / parser_admin.cpp
index 160acc83fa57a94731c18eee0c3711b9803c637d..a87c1dbfd765127462866f908b2bb62f724babdf 100644 (file)
@@ -27,7 +27,7 @@ return -1;
 //-----------------------------------------------------------------------------
 void PARSER_GET_ADMINS::CreateAnswer()
 {
-const PRIV * priv = currAdmin.GetPriv();
+const PRIV * priv = currAdmin->GetPriv();
 if (!priv->adminChg)
     {
     //answerList->clear();