diff options
Diffstat (limited to 'shared/globalFunctions.cpp')
-rw-r--r-- | shared/globalFunctions.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/shared/globalFunctions.cpp b/shared/globalFunctions.cpp index a5ebba68..029d542a 100644 --- a/shared/globalFunctions.cpp +++ b/shared/globalFunctions.cpp @@ -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) * +// ************************************************************************** +// #include "globalFunctions.h" #include <wx/msgdlg.h> #include <wx/file.h> @@ -43,6 +49,8 @@ Performance::Performance() : Performance::~Performance() { + //keep non-inline destructor for std::auto_ptr to work with forward declaration + if (!resultWasShown) showResult(); } |