aboutsummaryrefslogtreecommitdiffstats
path: root/src/init_opt.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-11-14 16:07:18 +0000
committerlloyd <[email protected]>2007-11-14 16:07:18 +0000
commit2de4693562db51f6f0e0b2f3a95e3118c40db05d (patch)
tree156630241ee90cd2e15bc601d99aaad19cf7b0ea /src/init_opt.cpp
parentf42ff9817bd2d25401bd8fd0cd8186dc82810a63 (diff)
Remove the ability to load an external configuration file. Applications
needing this functionality probably already have a preexisting configuration system that they would rather use. Also remove the documentation about this feature, and the example configuration (which was pretty out of date, anyway). RFC on this change sent to the mailing list on 11-13-2007, no responses after 24 hours. It seems quite likely this code is not in use anywhere.
Diffstat (limited to 'src/init_opt.cpp')
-rw-r--r--src/init_opt.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/init_opt.cpp b/src/init_opt.cpp
index a92d795b0..48dd00967 100644
--- a/src/init_opt.cpp
+++ b/src/init_opt.cpp
@@ -86,15 +86,6 @@ bool InitializerOptions::self_test() const
}
/*************************************************
-* Return the config file to load, if any *
-*************************************************/
-std::string InitializerOptions::config_file() const
- {
- std::map<std::string, std::string>::const_iterator i = args.find("config");
- return (i != args.end()) ? i->second : "";
- }
-
-/*************************************************
* Setup an InitializerOptions *
*************************************************/
InitializerOptions::InitializerOptions(const std::string& arg_string)