Skip to content

Commit

Permalink
Removed unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
grodansparadis committed Mar 13, 2024
1 parent 80e53c3 commit 1e88aa9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/vscp/common/mdf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<CMDF_RemoteVariable *> *prvarList = getRemoteVariableObjList();
std::deque<CMDF_RemoteVariable *> *prvarList = getRemoteVariableList();

// Go throu pages create set/map with sorted registers
int pos = 0;
Expand Down
4 changes: 2 additions & 2 deletions src/vscp/common/mdf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<CMDF_RemoteVariable *> *getRemoteVariableList(void) { return &m_list_remotevar; }; // Deprecated
std::deque<CMDF_RemoteVariable *> *getRemoteVariableObjList(void) { return &m_list_remotevar; };
std::deque<CMDF_RemoteVariable *> *getRemoteVariableList(void) { return &m_list_remotevar; };
//std::deque<CMDF_RemoteVariable *> *getRemoteVariableObjList(void) { return &m_list_remotevar; };

/*!
Delete a defined remote variable
Expand Down

0 comments on commit 1e88aa9

Please sign in to comment.