Browse Source

Syntax fixes for plTimedValue.

Darryl Pogue 13 years ago
parent
commit
09f7a4f37d
  1. 7
      Sources/Plasma/NucleusLib/pnTimer/plTimedValue.h

7
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<T>.
@ -133,7 +132,7 @@ void plTimedSimple<T>::Read(hsStream* s)
template <class T>
void plTimedSimple<T>::Write(hsStream* s) const
{
T val = Value();
T val = this->Value();
s->WriteSwap(val);
}
@ -148,7 +147,7 @@ void plTimedCompound<T>::Read(hsStream* s)
template <class T>
void plTimedCompound<T>::Write(hsStream* s) const
{
T val = Value();
T val = this->Value();
val.Write(s);
}

Loading…
Cancel
Save