https://github.com/tstack/lnav/pull/1285 https://github.com/tstack/lnav/commit/ce97375280877f80e3dcebd20c21be44b13d8199 From ce97375280877f80e3dcebd20c21be44b13d8199 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 21 Jul 2024 19:38:41 +0200 Subject: [PATCH] [build] fix for GCC 15 two-phase lookup * GCC 15 is more aggressive about checking dependent names Bug: https://bugs.gentoo.org/936409 --- a/src/vtab_module.hh +++ b/src/vtab_module.hh @@ -582,7 +582,7 @@ struct vtab_module : public vtab_module_base { struct vtab { explicit vtab(sqlite3* db, T& impl) : v_db(db), v_impl(impl) {} - explicit operator sqlite3_vtab*() { return &this->base; } + explicit operator sqlite3_vtab*() { return &this->v_base; } sqlite3_vtab v_base{}; sqlite3* v_db;