diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-08-12 16:10:21 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-09-13 10:51:13 +0200 |
commit | 9119de3a643f8adf2c4a12587e32577caa762b5a (patch) | |
tree | d1e01b98770002d5a27b0d95e317817fbf2eac40 /test/buildtool/build_engine/expression/linked_map.test.cpp | |
parent | 693173e3b0ff9ddf3018e42b4e880f5aa18a978a (diff) | |
download | justbuild-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.cpp | 2 |
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 { |