]> git.saurik.com Git - apt.git/blobdiff - test/libapt/getlistoffilesindir_test.cc
trigger the usage of the fallback code for kfreebsd also in the
[apt.git] / test / libapt / getlistoffilesindir_test.cc
index ed8d2dad6c394f3936660e0a786da01f68d711d5..b2c95e840d3873d3f470b52c454b786188e92545 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[])
 {