]> git.tdb.fi Git - builder.git/blobdiff - source/config.cpp
Trim down the package preparation code
[builder.git] / source / config.cpp
index c6dcb70b25ee9a31f90fa0ffce557592ce36c850..8cabb56fa767dd64f8c199f309cbe0c6fe5c905c 100644 (file)
@@ -34,24 +34,6 @@ bool Config::is_option(const string &name) const
        return options.count(name);
 }
 
-bool Config::update(const StringMap &opts)
-{
-       bool changed_now = false;
-       for(StringMap::const_iterator i=opts.begin(); i!=opts.end(); ++i)
-       {
-               if(set_option(i->first, i->second) && i->first!="profile")
-                       changed_now = true;
-       }
-
-       if(changed_now)
-       {
-               mtime = Time::now();
-               changed = true;
-       }
-
-       return changed_now;
-}
-
 void Config::save() const
 {
        if(!changed)