Commit 6030d5ef authored by jan.koester's avatar jan.koester
Browse files
parents b23d8d97 ed51bbac
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -258,6 +258,11 @@ confplus::Config::~Config(){
        } else if (!_currApi) {
            std::cerr << "Cannot destroy plugin: _currApi is NULL." << std::endl;
        }

        if (_currApi) {
            std::cerr << "Attempting raw delete on plugin object." << std::endl;
            delete _currApi;
        }
    }

    if (_BackendData) {
@@ -348,6 +353,7 @@ void confplus::Config::setValue(confplus::Config::ConfigData *key, size_t pos, c
        key->haveChild = false;
		++key->Elements;
    }
    ++key->Elements;
}

void confplus::Config::setIntValue(confplus::Config::ConfigData* key, size_t pos, int value){