diff options
Diffstat (limited to 'cppe/src/IceE/FactoryTable.cpp')
-rw-r--r-- | cppe/src/IceE/FactoryTable.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/cppe/src/IceE/FactoryTable.cpp b/cppe/src/IceE/FactoryTable.cpp deleted file mode 100644 index d3539b91db3..00000000000 --- a/cppe/src/IceE/FactoryTable.cpp +++ /dev/null @@ -1,33 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice-E is licensed to you under the terms described in the -// ICEE_LICENSE file included in this distribution. -// -// ********************************************************************** - -#include <IceE/FactoryTable.h> -#include <IceE/UserExceptionFactory.h> - -// -// This constructor initializes the single global Ice::factoryTable instance -// from the outside (if it hasn't been initialized yet). The constructor here -// is triggered by a file-static instance of FactoryTable in each -// slice2cpp-generated header file that uses non-local exceptions or non-abstract classes. -// This ensures that Ice::factoryTable is always initialized before it is used. -// -IceInternal::FactoryTable::FactoryTable() -{ - - IceInternal::factoryTableWrapper.initialize(); -} - -// -// Similarly, the destructor calls the finalize() method on the factory table wrapper which, -// once the tables reference count drops to zero, deletes the table. -// -IceInternal::FactoryTable::~FactoryTable() -{ - IceInternal::factoryTableWrapper.finalize(); -} |