Simplifications and clean-ups
[invirt/third/libt4.git] / config.cc
index 374757f..e1b0963 100644 (file)
--- a/config.cc
+++ b/config.cc
@@ -160,7 +160,7 @@ void config::heartbeater() {
         }
 
         // who has the smallest ID?
-        string m = min(me, *min_element(cmems.begin(), cmems.end()));
+        string m = std::min(me, *std::min_element(cmems.begin(), cmems.end()));
 
         if (m == me) {
             // ping the other nodes