X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/eb3d5c6416c0f0d1cad35e52af3231de7866fea8..03b35a9a1bd1f583e32b27d260b223a0989d6c75:/config.cc?ds=sidebyside diff --git a/config.cc b/config.cc index 374757f..4931a9f 100644 --- a/config.cc +++ b/config.cc @@ -1,6 +1,8 @@ #include "config.h" #include "handle.h" +using std::vector; + // The config module maintains views. As a node joins or leaves a // view, the next view will be the same as previous view, except with // the new node added or removed. The first view contains only node @@ -160,7 +162,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