freebsd-ports/misc/qbrew/files/patch-src_beerxmlreader.cpp
Adriaan de Groot 8991d8b753 Port misc/qbrew away from Qt4 to Qt5. While at it, assume maintainership.
This was discussed over email with David. Upstream is unmaintained, but
it works with these minor patches.
2018-11-26 21:20:37 +00:00

13 lines
396 B
C++

false no longer implicitly converts via integer. Return empty recipe.
--- src/beerxmlreader.cpp.orig 2018-11-26 11:43:40 UTC
+++ src/beerxmlreader.cpp
@@ -254,7 +254,7 @@ Recipe BeerXmlReader::readSingleRecipe()
}
if (hasError()) {
raiseError("Problem reading recipe");
- return false;
+ return Recipe(0);
}
// set grain use according to recipe type