summaryrefslogtreecommitdiffhomepage
path: root/src/path-search-result.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/path-search-result.cpp')
-rw-r--r--src/path-search-result.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/path-search-result.cpp b/src/path-search-result.cpp
index 9e62a30f..26fcd98d 100644
--- a/src/path-search-result.cpp
+++ b/src/path-search-result.cpp
@@ -69,5 +69,7 @@ auto path_search_result::operator[](size_t index) const -> const pair&
fm_debug_assert(index < _node->vec.size());
return data()[index];
}
+auto path_search_result::path() -> std::vector<pair>& { fm_assert(_node); return _node->vec; }
+auto path_search_result::path() const -> const std::vector<pair>& { fm_assert(_node); return _node->vec; }
} // namespace floormat