aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-04-10 06:49:51 +0000
committerlloyd <[email protected]>2008-04-10 06:49:51 +0000
commita4af97b93eafdacfd26c55d37e4c06e20ff95258 (patch)
treee891a5af77dd991055464c837d697f076cffba04
parent59e71322cad61ff2f09664fc3e59b5446af4566a (diff)
Remove unused Config::option_as_list
-rw-r--r--include/config.h1
-rw-r--r--src/config.cpp8
2 files changed, 0 insertions, 9 deletions
diff --git a/include/config.h b/include/config.h
index 67766dcb7..48f013573 100644
--- a/include/config.h
+++ b/include/config.h
@@ -33,7 +33,6 @@ class Config
std::string option(const std::string&) const;
u32bit option_as_u32bit(const std::string&) const;
u32bit option_as_time(const std::string&) const;
- std::vector<std::string> option_as_list(const std::string&) const;
void set_option(const std::string, const std::string&);
diff --git a/src/config.cpp b/src/config.cpp
index bc950dcff..b724f0e02 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -122,14 +122,6 @@ std::string Config::option(const std::string& key) const
}
/*************************************************
-* Get the config setting as a list of strings *
-*************************************************/
-std::vector<std::string> Config::option_as_list(const std::string& key) const
- {
- return split_on(option(key), ':');
- }
-
-/*************************************************
* Get the config setting as a u32bit *
*************************************************/
u32bit Config::option_as_u32bit(const std::string& key) const