Skip to content
Snippets Groups Projects
Commit 8bde8880 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #8968: config: removed getConfigTreeItemIntValue

parent df322d32
No related branches found
No related tags found
No related merge requests found
......@@ -132,16 +132,6 @@ ConfigTree::getConfigTreeItemValue(const std::string& section, const std::string
return getDefaultValue(itemName);
}
// throw a ConfigTreeItemException if not found
int
ConfigTree::getConfigTreeItemIntValue(const std::string& section, const std::string& itemName) const
{
std::string configItem = getConfigTreeItemValue(section, itemName);
int retval = atoi(configItem.data());
return retval;
}
/**
* Return a ConfigTreeItem or NULL if not found
*/
......
......@@ -129,7 +129,6 @@ class ConfigTree {
* but the item doesn't.
*/
std::string getConfigTreeItemValue(const std::string& section, const std::string& itemName) const;
int getConfigTreeItemIntValue(const std::string& section, const std::string& itemName) const;
/**
* Load data (and fill ConfigTree) from disk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment