summaryrefslogtreecommitdiff
path: root/doc/apt-transport-https.1.xml
diff options
context:
space:
mode:
authorJohannes Schauer Marin Rodrigues <josch@mister-muffin.de>2025-03-12 23:55:05 +0100
committerJulian Andres Klode <jak@debian.org>2025-03-14 08:29:23 +0000
commit8be7a10b43804fc4ebef712892e45bba26647d1f (patch)
treee35e348b67f0306613b1712a0bcf4ea7fde82233 /doc/apt-transport-https.1.xml
parentdb5267cc17b3b2e6ded25da60adc030124950ae4 (diff)
apt-pkg/solver3.h: avoid static_assert(false)
With older compilers (g++ and clang from Bookworm), static_assert(false) will result in: /home/josch/git/apt/build/include/apt-pkg/solver3.h:52:24: error: static assertion failed: Cannot construct map for key type 52 | static_assert(false, "Cannot construct map for key type"); | ^~~~~ This commit implements the terrible but more valid workaround according to: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2593r0.html Original solution from here: https://stackoverflow.com/questions/14637356/static-assert-fails-compilation-even-though-template-function-is-called-nowhere/14637534#14637534 That way, apt will compile with compilers in Bookworm again.
Diffstat (limited to 'doc/apt-transport-https.1.xml')
0 files changed, 0 insertions, 0 deletions