summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Initialize.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2003-10-27 15:28:15 +0000
committerMarc Laukien <marc@zeroc.com>2003-10-27 15:28:15 +0000
commitbf49594578b70292d8054ccf1ab5be0b1259347d (patch)
tree06b0a60fd25515c2316c6016426036bb65133e81 /cpp/src/Ice/Initialize.cpp
parentcleanup (diff)
downloadice-bf49594578b70292d8054ccf1ab5be0b1259347d.tar.bz2
ice-bf49594578b70292d8054ccf1ab5be0b1259347d.tar.xz
ice-bf49594578b70292d8054ccf1ab5be0b1259347d.zip
cleanup
Diffstat (limited to 'cpp/src/Ice/Initialize.cpp')
-rw-r--r--cpp/src/Ice/Initialize.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpp/src/Ice/Initialize.cpp b/cpp/src/Ice/Initialize.cpp
index 65811546083..cfb13655806 100644
--- a/cpp/src/Ice/Initialize.cpp
+++ b/cpp/src/Ice/Initialize.cpp
@@ -22,12 +22,15 @@ using namespace std;
using namespace Ice;
using namespace IceInternal;
-namespace Ice
+namespace IceInternal
{
extern IceUtil::Handle<IceUtil::GC> theCollector;
-void collectGarbage()
+}
+
+void
+Ice::collectGarbage()
{
if(theCollector)
{
@@ -35,8 +38,6 @@ void collectGarbage()
}
}
-}
-
CommunicatorPtr
Ice::initialize(int& argc, char* argv[], Int version)
{