diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index c582856c0..64e6a0239 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -289,7 +289,7 @@ jobs: needs: [ what-to-make ] runs-on: ubuntu-22.04 container: - image: radupopescu/musl-builder + image: alpine:latest if: ${{ needs.what-to-make.outputs.make-cli == 'true' || needs.what-to-make.outputs.make-daemon == 'true' || needs.what-to-make.outputs.make-gtk == 'true' || needs.what-to-make.outputs.make-qt == 'true' || needs.what-to-make.outputs.make-tests == 'true' || needs.what-to-make.outputs.make-utils == 'true' }} steps: - name: Show Configuration @@ -342,7 +342,7 @@ jobs: -DENABLE_GTK=${{ (needs.what-to-make.outputs.make-gtk == 'true') && 'ON' || 'OFF' }} \ -DENABLE_MAC=OFF \ -DENABLE_QT=${{ (needs.what-to-make.outputs.make-qt == 'true') && 'ON' || 'OFF' }} \ - -DENABLE_TESTS=OFF \ + -DENABLE_TESTS=ON \ -DENABLE_UTILS=${{ (needs.what-to-make.outputs.make-utils == 'true') && 'ON' || 'OFF' }} \ -DENABLE_WEB=${{ (needs.what-to-make.outputs.make-web == 'true') && 'ON' || 'OFF' }} \ -DENABLE_WERROR=ON \ diff --git a/libtransmission/variant.cc b/libtransmission/variant.cc index f7d09ae53..8de3f3b00 100644 --- a/libtransmission/variant.cc +++ b/libtransmission/variant.cc @@ -715,7 +715,7 @@ private: // When `v` is a dict, this is its children's indices sorted by key. // Bencoded dicts must be sorted, so this is useful when writing benc. - small::vector sorted; + small::vector sorted; }; class VariantWalker @@ -763,7 +763,7 @@ public: private: size_t size = 0; - static auto constexpr InitialCapacity = size_t{ 32U }; + static auto constexpr InitialCapacity = size_t{ 24U }; small::vector stack; small::vector sortbuf; };