[10986] Fixed linking porblem for scripting library.

Visual Studio have known porblems with make public (in DLL access meaning)
for private fields accessed by public inline functions.
This commit is contained in:
VladimirMangos 2011-01-08 12:40:31 +03:00
parent 324c8c4cd2
commit 287229bfdb
3 changed files with 8 additions and 2 deletions

View file

@ -92,3 +92,9 @@ void barGoLink::step()
rec_pos = n;
}
}
// avoid use inline version because linking problems with private static field
void barGoLink::SetOutputState(bool on)
{
m_showOutput = on;
}