Skip to content

Commit

Permalink
clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Aug 23, 2024
1 parent 4337e71 commit b953184
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/zenoh/api/keyexpr.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<std::string_view>(key_expr), autocanonize, err) {};
: KeyExpr(static_cast<std::string_view>(key_expr), autocanonize, err){};

/// @brief Create a new instance from a null-terminated string.
///
Expand All @@ -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.
Expand Down

0 comments on commit b953184

Please sign in to comment.