Skip to content

fix(hashtree): resolve member access via overloaded operator->#346

Open
luozhiya wants to merge 1 commit intoMoganLab:mainfrom
luozhiya:luozhiya-patch-1
Open

fix(hashtree): resolve member access via overloaded operator->#346
luozhiya wants to merge 1 commit intoMoganLab:mainfrom
luozhiya:luozhiya-patch-1

Conversation

@luozhiya
Copy link

Problem

In Arch Linux's latest build, compiling hashtree.ipp fails with:

  error: ‘class hashtree<K, V>’ has no member named ‘contains’

Solution

Fixed by explicitly using (*this)->contains() and (*this)->children() to ensure correct member access via operator->.

Log

Also see https://github.com/luozhiya/arch-mogan/actions/runs/14946817328/job/41991193339

@MrAMS
Copy link

MrAMS commented Jan 9, 2026

why not merged? 😢

robertkirkman added a commit to robertkirkman/termux-packages that referenced this pull request Feb 4, 2026
- Apply MoganLab/lolly#346 to fix `error: ‘class hashtree<K, V>’ has no member named ‘contains’` with NDK r29

- Apply `DOCTEST_VERSION = "2.4.12"` to `moebius` dependency to fix build with CMake 4

- Apply `XMAKE_GLOBALDIR="$TERMUX_PKG_TMPDIR"` to fix `ld.lld: error: /home/builder/.xmake/packages/s/s7/20241122/2613d5544f43431dad530be0c61b8a28/lib/libs7.a(s7.c.o) is incompatible with armelf_linux_eabi`

- Apply backup and restore of `libcurl.so` and `xmake` to work around corruption of those binaries by something inside `mogan`
robertkirkman added a commit to robertkirkman/termux-packages that referenced this pull request Feb 4, 2026
- Progress on termux#23492

- Apply MoganLab/lolly#346 to fix `error: ‘class hashtree<K, V>’ has no member named ‘contains’` with NDK r29

- Apply `DOCTEST_VERSION = "2.4.12"` to `moebius` dependency to fix build with CMake 4

- Apply `XMAKE_GLOBALDIR="$TERMUX_PKG_TMPDIR"` to fix `ld.lld: error: /home/builder/.xmake/packages/s/s7/20241122/2613d5544f43431dad530be0c61b8a28/lib/libs7.a(s7.c.o) is incompatible with armelf_linux_eabi`

- Apply backup and restore of `libcurl.so` and `xmake` to work around corruption of those binaries by something inside `mogan`
robertkirkman added a commit to termux/termux-packages that referenced this pull request Feb 5, 2026
- Progress on #23492

- Apply MoganLab/lolly#346 to fix `error: ‘class hashtree<K, V>’ has no member named ‘contains’` with NDK r29

- Apply `DOCTEST_VERSION = "2.4.12"` to `moebius` dependency to fix build with CMake 4

- Apply `XMAKE_GLOBALDIR="$TERMUX_PKG_TMPDIR"` to fix `ld.lld: error: /home/builder/.xmake/packages/s/s7/20241122/2613d5544f43431dad530be0c61b8a28/lib/libs7.a(s7.c.o) is incompatible with armelf_linux_eabi`

- Apply backup and restore of `libcurl.so` and `xmake` to work around corruption of those binaries by something inside `mogan`
termux-pacman-bot added a commit to termux-pacman/termux-packages that referenced this pull request Feb 5, 2026
- Progress on termux/termux-packages#23492

- Apply MoganLab/lolly#346 to fix `error: ‘class hashtree<K, V>’ has no member named ‘contains’` with NDK r29

- Apply `DOCTEST_VERSION = "2.4.12"` to `moebius` dependency to fix build with CMake 4

- Apply `XMAKE_GLOBALDIR="$TERMUX_PKG_TMPDIR"` to fix `ld.lld: error: /home/builder/.xmake/packages/s/s7/20241122/2613d5544f43431dad530be0c61b8a28/lib/libs7.a(s7.c.o) is incompatible with armelf_linux_eabi`

- Apply backup and restore of `libcurl.so` and `xmake` to work around corruption of those binaries by something inside `mogan`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants