File tree 6 files changed +3
-8
lines changed
6 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ jobs:
100
100
path : rgbds-${{ env.version }}-macos.zip
101
101
102
102
linux :
103
- runs-on : ubuntu-20 .04 # Oldest supported, for best glibc compatibility.
103
+ runs-on : ubuntu-22 .04 # Oldest supported, for best glibc compatibility.
104
104
steps :
105
105
- name : Get version from tag
106
106
shell : bash
@@ -112,7 +112,7 @@ jobs:
112
112
- name : Install deps
113
113
shell : bash
114
114
run : |
115
- ./.github/scripts/install_deps.sh ubuntu-20 .04
115
+ ./.github/scripts/install_deps.sh ubuntu-22 .04
116
116
- name : Build binaries
117
117
run : |
118
118
make -kj WARNFLAGS="-Wall -Wextra -pedantic -static" PKG_CONFIG="pkg-config --static" Q=
Original file line number Diff line number Diff line change 7
7
unix :
8
8
strategy :
9
9
matrix :
10
- os : [ubuntu-20.04, ubuntu- 22.04, macos-14]
10
+ os : [ubuntu-22.04, macos-14]
11
11
cxx : [g++, clang++]
12
12
buildsys : [make, cmake]
13
13
exclude :
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ struct Rgba {
38
38
}
39
39
40
40
bool operator ==(Rgba const &rhs) const { return toCSS () == rhs.toCSS (); }
41
- bool operator !=(Rgba const &rhs) const { return !operator ==(rhs); }
42
41
43
42
// CGB colors are RGB555, so we use bit 15 to signify that the color is transparent instead
44
43
// Since the rest of the bits don't matter then, we return 0x8000 exactly.
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ class EnumSeq {
25
25
auto operator *() const { return _value; }
26
26
27
27
bool operator ==(Iterator const &rhs) const { return _value == rhs._value ; }
28
- bool operator !=(Iterator const &rhs) const { return !operator ==(rhs); }
29
28
};
30
29
31
30
public:
@@ -59,7 +58,6 @@ class ZipIterator {
59
58
bool operator ==(ZipIterator const &rhs) const {
60
59
return std::get<0 >(_iters) == std::get<0 >(rhs._iters );
61
60
}
62
- bool operator !=(ZipIterator const &rhs) const { return !operator ==(rhs); }
63
61
};
64
62
65
63
template <typename ... Ts>
Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ class AssignedProtos {
87
87
Iter () = default ;
88
88
89
89
bool operator ==(Iter const &rhs) const { return _iter == rhs._iter ; }
90
- bool operator !=(Iter const &rhs) const { return !operator ==(rhs); }
91
90
92
91
Iter &operator ++() {
93
92
++_iter;
Original file line number Diff line number Diff line change @@ -466,7 +466,6 @@ class Png {
466
466
}
467
467
468
468
bool operator ==(Iterator const &rhs) const { return coords () == rhs.coords (); }
469
- bool operator !=(Iterator const &rhs) const { return !operator ==(rhs); }
470
469
};
471
470
472
471
public:
You can’t perform that action at this time.
0 commit comments