#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
}
// 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