summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-01 19:52:51 +0000
committerrubidium <rubidium@openttd.org>2010-08-01 19:52:51 +0000
commitd1787d884c47d7ddbcd995fd46702ab50f43dd8e (patch)
treea680bf97f9085e1f168c01cfaf0b76fa854c5490
parent4bd32799f13480763bfb58db82bb98d1500753ae (diff)
downloadopenttd-d1787d884c47d7ddbcd995fd46702ab50f43dd8e.tar.xz
(svn r20287) -Fix: GCC 4.1 warning
-rw-r--r--src/newgrf_config.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp
index fcd1a75bc..afe99e1ae 100644
--- a/src/newgrf_config.cpp
+++ b/src/newgrf_config.cpp
@@ -38,6 +38,7 @@ GRFConfig::GRFConfig(const char *filename) :
* @param config The GRFConfig object to make a copy of.
*/
GRFConfig::GRFConfig(const GRFConfig &config) :
+ ZeroedMemoryAllocator(),
ident(config.ident),
version(config.version),
flags(config.flags & ~GCF_COPY),
@@ -133,6 +134,7 @@ GRFError::GRFError(StringID severity, StringID message) :
* @param error The GRFError object to make a copy of.
*/
GRFError::GRFError(const GRFError &error) :
+ ZeroedMemoryAllocator(),
custom_message(error.custom_message),
data(error.data),
message(error.message),