diff --git a/Sources/Plasma/NucleusLib/pnTimer/plTimedValue.h b/Sources/Plasma/NucleusLib/pnTimer/plTimedValue.h index 7cd42e31..ac468cca 100644 --- a/Sources/Plasma/NucleusLib/pnTimer/plTimedValue.h +++ b/Sources/Plasma/NucleusLib/pnTimer/plTimedValue.h @@ -28,8 +28,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #define plTimedValue_inc #include "hsTimer.h" - -class hsStream; +#include "hsStream.h" // plTimedValue // To use, replace your member var of type T with plTimedValue. @@ -133,7 +132,7 @@ void plTimedSimple::Read(hsStream* s) template void plTimedSimple::Write(hsStream* s) const { - T val = Value(); + T val = this->Value(); s->WriteSwap(val); } @@ -148,7 +147,7 @@ void plTimedCompound::Read(hsStream* s) template void plTimedCompound::Write(hsStream* s) const { - T val = Value(); + T val = this->Value(); val.Write(s); }