summaryrefslogtreecommitdiff
path: root/test/buildtool/build_engine/expression/linked_map.test.cpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-08-12 16:10:21 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2022-09-13 10:51:13 +0200
commit9119de3a643f8adf2c4a12587e32577caa762b5a (patch)
treed1e01b98770002d5a27b0d95e317817fbf2eac40 /test/buildtool/build_engine/expression/linked_map.test.cpp
parent693173e3b0ff9ddf3018e42b4e880f5aa18a978a (diff)
downloadjustbuild-9119de3a643f8adf2c4a12587e32577caa762b5a.tar.gz
Fix build with gcc/g++
Diffstat (limited to 'test/buildtool/build_engine/expression/linked_map.test.cpp')
-rw-r--r--test/buildtool/build_engine/expression/linked_map.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/buildtool/build_engine/expression/linked_map.test.cpp b/test/buildtool/build_engine/expression/linked_map.test.cpp
index fbbd1b55..b94c5803 100644
--- a/test/buildtool/build_engine/expression/linked_map.test.cpp
+++ b/test/buildtool/build_engine/expression/linked_map.test.cpp
@@ -186,7 +186,7 @@ class CustomContainer {
[[nodiscard]] auto IsNotNull() const noexcept -> bool {
return static_cast<bool>(*this);
}
- [[nodiscard]] auto LinkedMap() const& -> linked_map_t const& {
+ [[nodiscard]] auto Map() const& -> linked_map_t const& {
return (*this)->Map();
}
[[nodiscard]] static auto Make(linked_map_t&& map) -> Ptr {