Skip to content

Commit

Permalink
Remove space in UDL definition
Browse files Browse the repository at this point in the history
  • Loading branch information
timwoj committed Feb 17, 2025
1 parent b40f3fd commit 87d2d9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libbroker/broker/topic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ topic topic::store_events() {

} // namespace broker

broker::topic operator"" _t(const char* str, size_t len) {
broker::topic operator""_t(const char* str, size_t len) {
return broker::topic{std::string{str, len}};
}
2 changes: 1 addition & 1 deletion libbroker/broker/topic.hh
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ bool is_internal(const topic& x);
/// Converts a string to a topic.
/// @param str The string to convert.
/// @returns The topic according to *str*.
broker::topic operator"" _t(const char* str, size_t);
broker::topic operator""_t(const char* str, size_t);

namespace std {

Expand Down

0 comments on commit 87d2d9f

Please sign in to comment.