From 09f7a4f37d9f770e0a899438da7295ce779ac35b Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Sat, 6 Aug 2011 14:15:13 -0700 Subject: [PATCH] Syntax fixes for plTimedValue. --- Sources/Plasma/NucleusLib/pnTimer/plTimedValue.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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); }