From a211fe1bbcb8e160136f3dd22b516ba751d4b02e Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 15 Mar 2016 10:14:53 +0100 Subject: ICE-7019 - remove db tools dependency on IcePatch2 --- cpp/src/IceStorm/IceStormDB.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cpp/src/IceStorm/IceStormDB.cpp') diff --git a/cpp/src/IceStorm/IceStormDB.cpp b/cpp/src/IceStorm/IceStormDB.cpp index 76b1aa04244..0777c842272 100644 --- a/cpp/src/IceStorm/IceStormDB.cpp +++ b/cpp/src/IceStorm/IceStormDB.cpp @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -141,8 +140,7 @@ Client::run(int argc, char* argv[]) return EXIT_FAILURE; } - StringSeq files = IcePatch2Internal::readDirectory(dbPath); - if(!files.empty()) + if(!IceUtilInternal::isEmptyDirectory(dbPath)) { cerr << argv[0] << ": output directory is not empty: " << dbPath << endl; return EXIT_FAILURE; -- cgit v1.2.3