compile (gcc 4.1.0)
("In member function 'T SGPersonalityParameter<T>::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")
This commit is contained in:
@@ -5,6 +5,9 @@
|
|||||||
#ifndef _SG_PERSPARAM_HXX
|
#ifndef _SG_PERSPARAM_HXX
|
||||||
#define _SG_PERSPARAM_HXX 1
|
#define _SG_PERSPARAM_HXX 1
|
||||||
|
|
||||||
|
#include <simgear/math/sg_random.h>
|
||||||
|
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
class SGPersonalityParameter {
|
class SGPersonalityParameter {
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user