Skip to content

Commit

Permalink
fix CI for classic and multi-gcc.
Browse files Browse the repository at this point in the history
  • Loading branch information
levalup committed Jul 8, 2024
1 parent 1a8623a commit 74d3efc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-classic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
run: |
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DSTD=11 ..
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DSTD=11 -DWALL=OFF ..
cd ..
- name: Build
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
submodules: recursive

- uses: friendlyanon/fetch-core-count@v1
if: >-
matrix.gcc_version != '6' &&
matrix.gcc_version != '5'
id: cores

- name: Set output
Expand Down
3 changes: 0 additions & 3 deletions include/uvcxx/cxx/sockaddr.h
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,6 @@ namespace uvcxx {
private:
sockaddr_storage m_storage{};
int m_size = 0;

static_assert(sizeof(sockaddr_storage) >= sizeof(sockaddr_in));
static_assert(sizeof(sockaddr_storage) >= sizeof(sockaddr_in6));
};

class IPv4 : public address_t {
Expand Down

0 comments on commit 74d3efc

Please sign in to comment.