refactored SecureSocket to use interface #4313

This commit is contained in:
Xinyu Hou
2015-01-14 17:24:45 +00:00
committed by XinyuHou
parent be2b87fd39
commit 141b778477
28 changed files with 484 additions and 158 deletions

View File

@@ -74,6 +74,11 @@ Log::Log()
s_log = this;
}
Log::Log(Log* src)
{
s_log = src;
}
Log::~Log()
{
// clean up

View File

@@ -41,6 +41,7 @@ LOGC() provide convenient access.
class Log {
public:
Log();
Log(Log* src);
~Log();
//! @name manipulators

View File

@@ -171,7 +171,7 @@ findReplaceAll(
String
removeFileExt(String filename)
{
unsigned dot = filename.find_last_of('.');
size_t dot = filename.find_last_of('.');
if (dot == String::npos) {
return filename;