diff options
Diffstat (limited to 'shared/localization.h')
-rw-r--r-- | shared/localization.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/shared/localization.h b/shared/localization.h index 0a5ca4fb..157969cf 100644 --- a/shared/localization.h +++ b/shared/localization.h @@ -1,3 +1,9 @@ +// ************************************************************************** +// * This file is part of the FreeFileSync project. It is distributed under * +// * GNU General Public License: http://www.gnu.org/licenses/gpl.html * +// * Copyright (C) 2008-2010 ZenJu (zhnmju123 AT gmx.de) * +// ************************************************************************** +// #ifndef MISC_H_INCLUDED #define MISC_H_INCLUDED @@ -55,8 +61,9 @@ public: private: CustomLocale(); + ~CustomLocale(); //non-inline destructor for std::auto_ptr to work with forward declaration -> superfluous in this case: singleton pattern! - std::auto_ptr<Translation> translationDB; + std::auto_ptr<Translation> translationDB; //careful with forward-declarations and auto_ptr! save in this case, 'cause full class info available int currentLanguage; }; } |