diff options
Diffstat (limited to 'raul/Slave.hpp')
-rw-r--r-- | raul/Slave.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/raul/Slave.hpp b/raul/Slave.hpp index e148cff..593d5e2 100644 --- a/raul/Slave.hpp +++ b/raul/Slave.hpp @@ -32,7 +32,7 @@ namespace Raul { class Slave : public Thread { public: - Slave() : _whip(0) {} + explicit Slave(const std::string& name="") : Thread(name), _whip(0) {} /** Tell the slave to do whatever work it does. Realtime safe. */ inline void whip() { _whip.post(); } |