C++: Fix warnings

This commit is contained in:
Olivier Goffart 2020-11-19 13:46:30 +01:00
parent 3fce3e6f1b
commit 7113187864
3 changed files with 3 additions and 2 deletions

View file

@ -48,6 +48,7 @@ public:
case cbindgen_private::types::PathData::Tag::None:
return true;
}
return false; //unreachable
}
friend bool operator!=(const PathData &a, const PathData &b) {
return !(a == b);