summaryrefslogtreecommitdiff
path: root/test/libapt/getlistoffilesindir_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/libapt/getlistoffilesindir_test.cc')
-rw-r--r--test/libapt/getlistoffilesindir_test.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/test/libapt/getlistoffilesindir_test.cc b/test/libapt/getlistoffilesindir_test.cc
index ed8d2dad6..b2c95e840 100644
--- a/test/libapt/getlistoffilesindir_test.cc
+++ b/test/libapt/getlistoffilesindir_test.cc
@@ -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[])
{