Commit 22bd580ce7d862ed89dd7e69649bf6e345731c99
1 parent
5c28f2a6
Fixed missing std:: errors
Showing
1 changed file
with
1 additions
and
1 deletions
include/redox/client.hpp
| @@ -394,7 +394,7 @@ Command<ReplyT> &Redox::createCommand(const std::vector<std::string> &cmd, | @@ -394,7 +394,7 @@ Command<ReplyT> &Redox::createCommand(const std::vector<std::string> &cmd, | ||
| 394 | const std::function<void(Command<ReplyT> &)> &callback, | 394 | const std::function<void(Command<ReplyT> &)> &callback, |
| 395 | double repeat, double after, bool free_memory) { | 395 | double repeat, double after, bool free_memory) { |
| 396 | { | 396 | { |
| 397 | - unique_lock<mutex> ul(running_lock_); | 397 | + std::unique_lock<std::mutex> ul(running_lock_); |
| 398 | if (!running_) { | 398 | if (!running_) { |
| 399 | throw std::runtime_error("[ERROR] Need to connect Redox before running commands!"); | 399 | throw std::runtime_error("[ERROR] Need to connect Redox before running commands!"); |
| 400 | } | 400 | } |