summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/IceGridDB.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-03-15 10:14:53 +0100
committerJose <jose@zeroc.com>2016-03-15 10:14:53 +0100
commita211fe1bbcb8e160136f3dd22b516ba751d4b02e (patch)
tree3373d05751d651092ee74cb23b7bf4bc17b848b6 /cpp/src/IceGrid/IceGridDB.cpp
parent.gitignore updates (diff)
downloadice-a211fe1bbcb8e160136f3dd22b516ba751d4b02e.tar.bz2
ice-a211fe1bbcb8e160136f3dd22b516ba751d4b02e.tar.xz
ice-a211fe1bbcb8e160136f3dd22b516ba751d4b02e.zip
ICE-7019 - remove db tools dependency on IcePatch2
Diffstat (limited to 'cpp/src/IceGrid/IceGridDB.cpp')
-rw-r--r--cpp/src/IceGrid/IceGridDB.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/IceGridDB.cpp b/cpp/src/IceGrid/IceGridDB.cpp
index fd4e9ddddc4..04cb5828d6f 100644
--- a/cpp/src/IceGrid/IceGridDB.cpp
+++ b/cpp/src/IceGrid/IceGridDB.cpp
@@ -14,7 +14,6 @@
#include <Freeze/Freeze.h>
#include <Freeze/CatalogIndexList.h>
#include <IceGrid/Admin.h>
-#include <IcePatch2Lib/Util.h>
#include <DBTypes.h>
#include <StringApplicationInfoDict.h>
#include <StringAdapterInfoDict.h>
@@ -144,8 +143,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;