changed to string view

This commit is contained in:
2026-03-11 14:31:45 +03:00
parent 6081a9c426
commit ffacba71e2
2 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ namespace omath::pathfinding
bool empty() const;
// Events -- per-vertex optional tag (e.g. "jump", "teleport")
void set_event(const Vector3<float>& vertex, std::string event_id);
void set_event(const Vector3<float>& vertex, const std::string_view& event_id);
void clear_event(const Vector3<float>& vertex);
[[nodiscard]]