From: mfranz Date: Thu, 24 Aug 2006 23:03:52 +0000 (+0000) Subject: compile (gcc 4.1.0) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aebb1f6ec8062d49abe6e8c23f1d29b60c4927e7;p=simgear.git compile (gcc 4.1.0) ("In member function 'T SGPersonalityParameter::shuffle()': 28: error: there are no arguments to 'sg_random' that depend on a template parameter, so a declaration of 'sg_random' must be available") --- diff --git a/simgear/scene/model/persparam.hxx b/simgear/scene/model/persparam.hxx index 4ee014b6..33f2ade7 100755 --- a/simgear/scene/model/persparam.hxx +++ b/simgear/scene/model/persparam.hxx @@ -5,6 +5,9 @@ #ifndef _SG_PERSPARAM_HXX #define _SG_PERSPARAM_HXX 1 +#include + + template class SGPersonalityParameter { public: