diff --git a/src/vscp/common/mdf.cpp b/src/vscp/common/mdf.cpp index a8fb19f8b..1da8f6696 100644 --- a/src/vscp/common/mdf.cpp +++ b/src/vscp/common/mdf.cpp @@ -3019,13 +3019,13 @@ CMDF::save_json(const std::string &path) // ---------------------------------------------------------------------------- - if (getRemoteVariableObjList()) { + if (getRemoteVariableList()) { // Start of remote variables fout << "," << std::endl; fout << "\"remotevars\": [" << std::endl; - std::deque *prvarList = getRemoteVariableObjList(); + std::deque *prvarList = getRemoteVariableList(); // Go throu pages create set/map with sorted registers int pos = 0; diff --git a/src/vscp/common/mdf.h b/src/vscp/common/mdf.h index e91baf2fa..75220bf7c 100644 --- a/src/vscp/common/mdf.h +++ b/src/vscp/common/mdf.h @@ -3985,8 +3985,8 @@ class CMDF : public CMDF_Object { Return remote variable list from its name @return Pointer to CMDF_RemoteVariable class list */ - std::deque *getRemoteVariableList(void) { return &m_list_remotevar; }; // Deprecated - std::deque *getRemoteVariableObjList(void) { return &m_list_remotevar; }; + std::deque *getRemoteVariableList(void) { return &m_list_remotevar; }; + //std::deque *getRemoteVariableObjList(void) { return &m_list_remotevar; }; /*! Delete a defined remote variable