From 39bb4349b0393a28c82ee75bab1d367eaa9474d6 Mon Sep 17 00:00:00 2001 From: Alexander Stigsen Date: Mon, 2 Nov 2009 12:32:07 +0100 Subject: [PATCH] Fixed threading bug: AppId could be temporary --- src/AppVersion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AppVersion.h b/src/AppVersion.h index 14cc4ef8..e9fc8165 100644 --- a/src/AppVersion.h +++ b/src/AppVersion.h @@ -8,7 +8,7 @@ class AppVersion { AppVersion(const wxString& _appid, const unsigned int _version, const bool _isregistered, const int _daysleftoftrial): AppId(_appid), Version(_version), IsRegistered(_isregistered), DaysLeftOfTrial(_daysleftoftrial) {}; - const wxString& AppId; + const wxString AppId; const unsigned int Version; const bool IsRegistered; const int DaysLeftOfTrial;