diff options
Diffstat (limited to 'ace/DLL.h')
-rw-r--r-- | ace/DLL.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ace/DLL.h b/ace/DLL.h index 022521ae6a7..ae1e882f01d 100644 --- a/ace/DLL.h +++ b/ace/DLL.h @@ -57,6 +57,10 @@ public: */ explicit ACE_DLL (int close_handle_on_destruction = 1); + /// Allow assignment + const ACE_DLL& operator= (const ACE_DLL &rhs); + + /** * This constructor performs the actions of open() during construction. * @param dll_name The name or path of the DLL to load. @@ -156,10 +160,8 @@ private: ACE_SHLIB_HANDLE handle = 0); - // Disallow assignment since we don't handle it. - void operator= (const ACE_DLL &); - -private: + //private: +public: /// Open mode. int open_mode_; |