diff --git a/include/zenoh/api/keyexpr.hxx b/include/zenoh/api/keyexpr.hxx index 2d074864..fb237f82 100644 --- a/include/zenoh/api/keyexpr.hxx +++ b/include/zenoh/api/keyexpr.hxx @@ -28,7 +28,7 @@ class Session; class KeyExpr : public Owned<::z_owned_keyexpr_t> { friend Session; - KeyExpr() : Owned(nullptr) {}; + KeyExpr() : Owned(nullptr){}; public: /// @name Constructors @@ -57,7 +57,7 @@ class KeyExpr : public Owned<::z_owned_keyexpr_t> { /// @param err if not null, the result code will be written to this location, otherwise ZException exception will be /// thrown in case of error. KeyExpr(const std::string& key_expr, bool autocanonize = true, ZResult* err = nullptr) - : KeyExpr(static_cast(key_expr), autocanonize, err) {}; + : KeyExpr(static_cast(key_expr), autocanonize, err){}; /// @brief Create a new instance from a null-terminated string. /// @@ -66,7 +66,7 @@ class KeyExpr : public Owned<::z_owned_keyexpr_t> { /// @param err if not null, the result code will be written to this location, otherwise ZException exception will be /// thrown in case of error. KeyExpr(const char* key_expr, bool autocanonize = true, ZResult* err = nullptr) - : KeyExpr(std::string_view(key_expr), autocanonize, err) {}; + : KeyExpr(std::string_view(key_expr), autocanonize, err){}; /// @name Methods /// @brief Get underlying key expression string.