Merge pull request #758 from LaurensVoerman/osgt_indentation
fix indentation for osgt files for windows dynamic library build.
This commit is contained in:
commit
52edc4af8d
@ -62,8 +62,9 @@ protected:
|
|||||||
// Return true if the manipulator is std::endl
|
// Return true if the manipulator is std::endl
|
||||||
bool isEndl( std::ostream& (*fn)(std::ostream&) )
|
bool isEndl( std::ostream& (*fn)(std::ostream&) )
|
||||||
{
|
{
|
||||||
#ifdef __sun
|
#if defined (__sun) || (defined _WIN32 && !defined OSG_LIBRARY_STATIC)
|
||||||
// What a mess, but solaris does not like taking the address below
|
// What a mess, but solaris does not like taking the address below
|
||||||
|
// windows std::endl is a template with different adresses in different dll's
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
ss << fn;
|
ss << fn;
|
||||||
std::string s = ss.str();
|
std::string s = ss.str();
|
||||||
|
Loading…
Reference in New Issue
Block a user