diff options
author | Marc Laukien <marc@zeroc.com> | 2002-04-14 22:53:32 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-04-14 22:53:32 +0000 |
commit | 91300e7dbe6528b6b887fbf8734ed1c49e437b55 (patch) | |
tree | 306ec331004b79146ff0ef217dde0aae1129b382 /cpp/src/IcePatch/NodeDescFactory.cpp | |
parent | udp fixes (diff) | |
download | ice-91300e7dbe6528b6b887fbf8734ed1c49e437b55.tar.bz2 ice-91300e7dbe6528b6b887fbf8734ed1c49e437b55.tar.xz ice-91300e7dbe6528b6b887fbf8734ed1c49e437b55.zip |
fixes to IcePatch
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. -} |