diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-20 22:34:12 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-20 22:34:12 +0000 |
commit | 2cbaa284bf7f8579c16c06245726b4c208591b24 (patch) | |
tree | 276cd443225ddfc0c204f42a5fa6b378cb20f498 /include/dynamic.h | |
parent | 8ee0abd5a85b72457c7886d7539ce9b475082461 (diff) |
Removed stupid consts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1468 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/dynamic.h')
-rw-r--r-- | include/dynamic.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/dynamic.h b/include/dynamic.h index 47963b828..276b21f13 100644 --- a/include/dynamic.h +++ b/include/dynamic.h @@ -25,17 +25,17 @@ typedef void * (initfunc) (void); class DLLManager { public: - DLLManager( const char *fname ); + DLLManager(char *fname); virtual ~DLLManager(); #ifdef STATIC_LINK - bool GetSymbol( initfunc* &v, const char *sym_name ); + bool GetSymbol( initfunc* &v, char *sym_name ); #else - bool GetSymbol( void **, const char *sym_name ); + bool GetSymbol( void **, char *sym_name ); #endif - const char *LastError() + char *LastError() { return err; } @@ -52,7 +52,7 @@ class DLLManager class DLLFactoryBase : public DLLManager { public: - DLLFactoryBase(const char *fname, const char *func_name = 0); + DLLFactoryBase(char *fname, char *func_name = 0); virtual ~DLLFactoryBase(); #ifdef STATIC_LINK initfunc *factory_func; @@ -65,7 +65,7 @@ class DLLFactoryBase : public DLLManager template <class T> class DLLFactory : public DLLFactoryBase { public: - DLLFactory(const char *fname, const char *func_name=0) : DLLFactoryBase(fname,func_name) + DLLFactory(char *fname, char *func_name=0) : DLLFactoryBase(fname,func_name) { if (factory_func) factory = (T*)factory_func(); |