Browse Source

Const strings for plNetSharedState.

Darryl Pogue 14 years ago
parent
commit
db3347734a
  1. 2
      Sources/Plasma/NucleusLib/pnNetCommon/plNetSharedState.cpp
  2. 2
      Sources/Plasma/NucleusLib/pnNetCommon/plNetSharedState.h

2
Sources/Plasma/NucleusLib/pnNetCommon/plNetSharedState.cpp

@ -28,7 +28,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plGenericVar.h" #include "plGenericVar.h"
#include "pnMessage/plMessage.h" #include "pnMessage/plMessage.h"
plNetSharedState::plNetSharedState(char* name) : fServerMayDelete(false) plNetSharedState::plNetSharedState(const char* name) : fServerMayDelete(false)
{ {
SetName(name); SetName(name);
} }

2
Sources/Plasma/NucleusLib/pnNetCommon/plNetSharedState.h

@ -44,7 +44,7 @@ protected:
bool fServerMayDelete; // ok to delete (don't save) since this state is equivalent to the default state bool fServerMayDelete; // ok to delete (don't save) since this state is equivalent to the default state
public: public:
plNetSharedState(char* name=nil); plNetSharedState(const char* name=nil);
virtual ~plNetSharedState(); virtual ~plNetSharedState();
virtual void Copy(plNetSharedState* ss); virtual void Copy(plNetSharedState* ss);

Loading…
Cancel
Save