mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-31 00:15:55 -04:00
Removed extra qualification
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ namespace Base
|
||||
};
|
||||
|
||||
public:
|
||||
MD5::MD5();
|
||||
MD5();
|
||||
MD5(const std::string &input);
|
||||
|
||||
void Init();
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ class GenericAPICore
|
||||
public:
|
||||
friend class GenericConnection;
|
||||
|
||||
GenericAPICore::GenericAPICore(const char *host,
|
||||
GenericAPICore(const char *host,
|
||||
short port,
|
||||
unsigned reqTimeout,
|
||||
unsigned reconnectTimeout,
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace Base
|
||||
};
|
||||
|
||||
public:
|
||||
MD5::MD5();
|
||||
MD5();
|
||||
MD5(const std::string &input);
|
||||
|
||||
void Init();
|
||||
|
||||
@@ -29,7 +29,7 @@ public:
|
||||
friend class GenericConnection;
|
||||
friend class GenericAPI;
|
||||
|
||||
GenericAPICore::GenericAPICore(const char *host,
|
||||
GenericAPICore(const char *host,
|
||||
short port,
|
||||
unsigned reqTimeout,
|
||||
unsigned reconnectTimeout,
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
#include <vector>
|
||||
|
||||
|
||||
namespace soe
|
||||
namespace soe
|
||||
{
|
||||
|
||||
|
||||
class MD5
|
||||
class MD5
|
||||
{
|
||||
struct State
|
||||
struct State
|
||||
{
|
||||
State();
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace soe
|
||||
};
|
||||
|
||||
public:
|
||||
MD5::MD5();
|
||||
MD5();
|
||||
MD5(const std::string &input);
|
||||
|
||||
void Init();
|
||||
|
||||
+7
-7
@@ -22,7 +22,7 @@ namespace soe
|
||||
//
|
||||
// This class is designed to handle the serialization of a vector of strings. This was necessary
|
||||
// because the default serialization routines did not handle the length of the string properly, and
|
||||
// there was more risk involved in modifying all the serialization routines to handle the
|
||||
// there was more risk involved in modifying all the serialization routines to handle the
|
||||
// extra length property for the string as well as the vector.
|
||||
//
|
||||
// this is intenede to be used with the serialization macros
|
||||
@@ -50,7 +50,7 @@ namespace soe
|
||||
: mMaxStringLength(maxStringLength), mMaxListLength(maxListLength)
|
||||
{
|
||||
}
|
||||
SerializeStringList::SerializeStringList(stringList_t vStrings)
|
||||
SerializeStringList(stringList_t vStrings)
|
||||
: mMaxStringLength(DEFAULT_MAX_LENGTH_STRING), mMaxListLength(DEFAULT_MAX_NUMBER_ELEMENTS)
|
||||
{
|
||||
for(stringList_t::iterator i = vStrings.begin(); i != vStrings.end(); i++)
|
||||
@@ -60,7 +60,7 @@ namespace soe
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
unsigned SerializeStringList::Read(const unsigned char * stream, unsigned size)
|
||||
unsigned Read(const unsigned char * stream, unsigned size)
|
||||
{
|
||||
// fix this:
|
||||
std::string element;
|
||||
@@ -91,7 +91,7 @@ namespace soe
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
unsigned SerializeStringList::Write(unsigned char * stream, unsigned size) const
|
||||
unsigned Write(unsigned char * stream, unsigned size) const
|
||||
{
|
||||
unsigned index = 0;
|
||||
unsigned bytes = 0;
|
||||
@@ -153,7 +153,7 @@ namespace soe
|
||||
: mMaxStringLength(maxStringLength), mMaxVectorLength(maxVectorLength)
|
||||
{
|
||||
}
|
||||
SerializeStringVector::SerializeStringVector(stringVector_t vStrings)
|
||||
SerializeStringVector(stringVector_t vStrings)
|
||||
: mMaxStringLength(DEFAULT_MAX_LENGTH_STRING), mMaxVectorLength(DEFAULT_MAX_NUMBER_ELEMENTS)
|
||||
{
|
||||
for(stringVector_t::iterator i = vStrings.begin(); i != vStrings.end(); i++)
|
||||
@@ -163,7 +163,7 @@ namespace soe
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
unsigned SerializeStringVector::Read(const unsigned char * stream, unsigned size)
|
||||
unsigned Read(const unsigned char * stream, unsigned size)
|
||||
{
|
||||
// fix this:
|
||||
std::string element;
|
||||
@@ -194,7 +194,7 @@ namespace soe
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
unsigned SerializeStringVector::Write(unsigned char * stream, unsigned size) const
|
||||
unsigned Write(unsigned char * stream, unsigned size) const
|
||||
{
|
||||
unsigned index = 0;
|
||||
unsigned bytes = 0;
|
||||
|
||||
Reference in New Issue
Block a user