summaryrefslogtreecommitdiffstats
path: root/include/api.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/api.hpp')
-rw-r--r--include/api.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/api.hpp b/include/api.hpp
index e508fa1..7c89af4 100644
--- a/include/api.hpp
+++ b/include/api.hpp
@@ -312,7 +312,7 @@ public:
[[nodiscard]]
inline string_view to_string_view() const
{
- return _endpoint_map.at(_endpoint).data();
+ return _endpoint_map.at(_endpoint);
}
private: