Got rid of most using directives. Ported tests to python.
[invirt/third/libt4.git] / rsm_tester.cc
index e821c99..d5d27fd 100644 (file)
@@ -17,9 +17,9 @@ int main(int argc, char *argv[]) {
     rsmtest_client *lc = new rsmtest_client(argv[1]);
     string command(argv[2]);
     if (command == "partition") {
     rsmtest_client *lc = new rsmtest_client(argv[1]);
     string command(argv[2]);
     if (command == "partition") {
-        LOG_NONMEMBER << "net_repair returned " << lc->net_repair(stoi(argv[3]));
+        LOG_NONMEMBER << "net_repair returned " << lc->net_repair(std::stoi(argv[3]));
     } else if (command == "breakpoint") {
     } else if (command == "breakpoint") {
-        int b = stoi(argv[3]);
+        int b = std::stoi(argv[3]);
         LOG_NONMEMBER << "breakpoint " << b << " returned " << lc->breakpoint(b);
     } else {
         LOG_NONMEMBER << "Unknown command " << argv[2];
         LOG_NONMEMBER << "breakpoint " << b << " returned " << lc->breakpoint(b);
     } else {
         LOG_NONMEMBER << "Unknown command " << argv[2];