Remove unnecessary extra function.
authorCarl Hetherington <cth@carlh.net>
Fri, 30 Oct 2015 11:56:36 +0000 (11:56 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 30 Oct 2015 11:56:36 +0000 (11:56 +0000)
src/lib/server_finder.cc

index 642767e8bdda60f1c5e2f751619015da886c4382..8685c830f2a9d349075ef639190c523f17da68b3 100644 (file)
@@ -235,12 +235,6 @@ ServerFinder::config_changed (Config::Property what)
                        _servers.clear ();
                }
                ServersListChanged ();
-               search_now ();
+               _search_condition.notify_all ();
        }
 }
-
-void
-ServerFinder::search_now ()
-{
-       _search_condition.notify_all ();
-}