mirror of
https://github.com/falk-werner/webfuse-provider
synced 2026-03-02 04:09:18 +00:00
chore: replaced msleep by std::this_thread::sleep_for
This commit is contained in:
@@ -3,10 +3,12 @@
|
||||
#include "webfuse/provider/impl/client.h"
|
||||
#include <thread>
|
||||
#include <mutex>
|
||||
#include <chrono>
|
||||
#include <string>
|
||||
#include "webfuse/utils/msleep.hpp"
|
||||
#include "webfuse/utils/static_filesystem.h"
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
namespace webfuse_test
|
||||
{
|
||||
|
||||
@@ -29,7 +31,7 @@ public:
|
||||
}
|
||||
|
||||
thread = std::thread(Run, this);
|
||||
webfuse_test::msleep(200);
|
||||
std::this_thread::sleep_for(200ms);
|
||||
}
|
||||
|
||||
~Private()
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#include <unistd.h>
|
||||
#include "webfuse_adapter.h"
|
||||
#include "webfuse/adapter/impl/server.h"
|
||||
#include "webfuse/utils/msleep.hpp"
|
||||
|
||||
#define WF_PATH_MAX (100)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user