do not pollute namespace in the headers with using (Closes: #500198)
[ntk/apt.git] / test / libapt / getlistoffilesindir_test.cc
index ed8d2da..b2c95e8 100644 (file)
@@ -7,14 +7,7 @@
 #include <stdio.h>
 #include <iostream>
 
-// simple helper to quickly output a vector of strings
-void dumpVector(std::vector<std::string> vec) {
-       for (std::vector<std::string>::const_iterator v = vec.begin();
-            v != vec.end(); v++)
-               std::cout << *v << std::endl;
-}
-
-#define P(x)   string(argv[1]).append("/").append(x)
+#define P(x)   std::string(argv[1]).append("/").append(x)
 
 int main(int argc,char *argv[])
 {