summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/NodeDescFactory.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-04-14 22:53:32 +0000
committerMarc Laukien <marc@zeroc.com>2002-04-14 22:53:32 +0000
commit91300e7dbe6528b6b887fbf8734ed1c49e437b55 (patch)
tree306ec331004b79146ff0ef217dde0aae1129b382 /cpp/src/IcePatch/NodeDescFactory.cpp
parentudp fixes (diff)
downloadice-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.cpp38
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.
-}