summaryrefslogtreecommitdiffhomepage
path: root/src/path-search-result.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-10-08 09:01:43 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-10-08 09:01:43 +0200
commitbfe9becfca9e789bf653c4bb8e92917acac04218 (patch)
treec96d69127a058db737164ed4bb88d5a4d96163ea /src/path-search-result.cpp
parent05f426b934baa641cd847fd3fc06d7ac446cf8e9 (diff)
a
Diffstat (limited to 'src/path-search-result.cpp')
-rw-r--r--src/path-search-result.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/path-search-result.cpp b/src/path-search-result.cpp
index 4e921abd..9e62a30f 100644
--- a/src/path-search-result.cpp
+++ b/src/path-search-result.cpp
@@ -1,6 +1,7 @@
#include "path-search.hpp"
#include "path-search-result.hpp"
#include "compat/assert.hpp"
+#include <Corrade/Containers/ArrayView.h>
#include <utility>
namespace floormat {
@@ -56,7 +57,7 @@ size_t path_search_result::size() const { return _node->vec.size(); }
auto path_search_result::data() const -> const pair* { return _node->vec.data(); }
path_search_result::operator bool() const { return !_node->vec.empty(); }
-path_search_result::operator ArrayView<const pair>() const
+path_search_result::operator ArrayView<const path_search_result::pair>() const
{
fm_debug_assert(_node);
return {_node->vec.data(), _node->vec.size()};