Where possible moved redundent C header includes from headers to source files
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
|
||||
#include <memory.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <osgSim/ShapeAttribute>
|
||||
|
||||
@@ -68,6 +69,13 @@ void ShapeAttribute::free()
|
||||
}
|
||||
}
|
||||
|
||||
void ShapeAttribute::setValue(const char * value)
|
||||
{
|
||||
free();
|
||||
_type = STRING;
|
||||
_string = (value ? strdup(value) : 0);
|
||||
}
|
||||
|
||||
void ShapeAttribute::copy(const ShapeAttribute& sa)
|
||||
{
|
||||
_name = sa._name;
|
||||
|
||||
Reference in New Issue
Block a user