summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-11-24 09:52:35 +0000
committerrubidium <rubidium@openttd.org>2013-11-24 09:52:35 +0000
commit6fb28d87196305d0d016499215ba9d6503e1c6cf (patch)
treeadbaf89324ab0198113cd1f190beaa500e3d0e10
parenta8e8f606d89055397a37dbe5c7a1b3d46d08cf8a (diff)
downloadopenttd-6fb28d87196305d0d016499215ba9d6503e1c6cf.tar.xz
(svn r26081) -Fix [FS#5815]: memset with virtual functions doesn't quite work. Upon further review CompanyProperties doesn't need to be virtual in the current code base
-rw-r--r--src/company_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_base.h b/src/company_base.h
index f9dce59e7..6385d6049 100644
--- a/src/company_base.h
+++ b/src/company_base.h
@@ -100,7 +100,7 @@ struct CompanyProperties {
CompanyProperties() : name(NULL), president_name(NULL) {}
- virtual ~CompanyProperties()
+ ~CompanyProperties()
{
free(this->name);
free(this->president_name);