|
@@ -25,22 +25,12 @@ void HostServer::SyncManager::init()
|
|
|
InitializeCriticalSectionAndSpinCount(&m_csSyncTime, 4000);
|
|
|
_anchors.swap(unordered_map<unsigned long long, Position>());
|
|
|
_distance.swap(unordered_map<unsigned long long,unordered_map<unsigned long long, double>>());
|
|
|
-<<<<<<< HEAD
|
|
|
-
|
|
|
-=======
|
|
|
- //logDir = ".\\synclog\\";
|
|
|
->>>>>>> newprotocal
|
|
|
std::string dir = "";
|
|
|
|
|
|
TCHAR chpath[MAX_PATH];
|
|
|
::GetModuleFileName(NULL,chpath, MAX_PATH);
|
|
|
(_tcsrchr(chpath, _T('\\')))[1] = 0;
|
|
|
dir = CFunctions::TCHAR2string(chpath);
|
|
|
-<<<<<<< HEAD
|
|
|
-
|
|
|
- //logDir = ".\\synclog\\";
|
|
|
-=======
|
|
|
->>>>>>> newprotocal
|
|
|
logDir = dir + "\\synclog\\";
|
|
|
|
|
|
if(0 != _access(logDir.c_str(), 0)){
|