cpp-common/bt2: make setters return `*this`
[babeltrace.git] / src / cpp-common / bt2 / self-message-iterator-configuration.hpp
index e628194ad439950fa1fbf2db56efd55d4c3079ec..5205efafb976f7d00b16ce96a9df4db90d33de29 100644 (file)
@@ -22,10 +22,11 @@ public:
     {
     }
 
-    void canSeekForward(const bool canSeekForward) const noexcept
+    SelfMessageIteratorConfiguration canSeekForward(const bool canSeekForward) const noexcept
     {
         bt_self_message_iterator_configuration_set_can_seek_forward(
             this->libObjPtr(), static_cast<bt_bool>(canSeekForward));
+        return *this;
     }
 };
 
This page took 0.043627 seconds and 4 git commands to generate.