From aebb1f6ec8062d49abe6e8c23f1d29b60c4927e7 Mon Sep 17 00:00:00 2001 From: mfranz Date: Thu, 24 Aug 2006 23:03:52 +0000 Subject: [PATCH] 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") --- simgear/scene/model/persparam.hxx | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.39.5