diff --git a/include/redox/client.hpp b/include/redox/client.hpp index 6bfca27..f8f670d 100644 --- a/include/redox/client.hpp +++ b/include/redox/client.hpp @@ -394,7 +394,7 @@ Command &Redox::createCommand(const std::vector &cmd, const std::function &)> &callback, double repeat, double after, bool free_memory) { { - unique_lock ul(running_lock_); + std::unique_lock ul(running_lock_); if (!running_) { throw std::runtime_error("[ERROR] Need to connect Redox before running commands!"); }