diff options
Diffstat (limited to 'cpp/src/IcePatch/NodeDescFactory.cpp')
-rw-r--r-- | cpp/src/IcePatch/NodeDescFactory.cpp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/cpp/src/IcePatch/NodeDescFactory.cpp b/cpp/src/IcePatch/NodeDescFactory.cpp deleted file mode 100644 index 5423adcfd2f..00000000000 --- a/cpp/src/IcePatch/NodeDescFactory.cpp +++ /dev/null @@ -1,38 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2002 -// MutableRealms, Inc. -// Huntsville, AL, USA -// -// All Rights Reserved -// -// ********************************************************************** - -#include <IcePatch/NodeDescFactory.h> - -using namespace std; -using namespace Ice; -using namespace IcePatch; - -ObjectPtr -IcePatch::NodeDescFactory::create(const std::string& type) -{ - if (type == "::IcePatch::DirectoryDesc") - { - return new DirectoryDesc; - } - - if (type == "::IcePatch::FileDesc") - { - return new FileDesc; - } - - assert(false); - return 0; // To keep the compiler from complaining. -} - -void -IcePatch::NodeDescFactory::destroy() -{ - // Nothing to do. -} |