freebsd-ports/misc/qbrew/files/patch-qbrew-calc.h
Tilman Keskinoz 0647e4db8e Fix build with gcc41
PR:		106837
Submitted by:	David Johnson (maintainer)
2006-12-17 19:28:49 +00:00

22 lines
816 B
C++

--- qbrew/calc.h.orig Sat Dec 16 14:34:28 2006
+++ qbrew/calc.h Sat Dec 16 14:34:52 2006
@@ -175,15 +175,15 @@
static int SRM(Recipe *r);
// convert Specific Gravity to Plato
- static double Calc::SgToP(double sg);
+ static double SgToP(double sg);
// convert grain extract to yield
- static double Calc::extractToYield(double extract);
- static double Calc::yieldToExtract(double yield);
+ static double extractToYield(double extract);
+ static double yieldToExtract(double yield);
// add an entry to the utilization table
static void addUEntry(const UEntry &u);
// get the table of utilizations
- static const QValueList<UEntry> &Calc::getUEntryList();
+ static const QValueList<UEntry> &getUEntryList();
private:
static double calcOG(Recipe *r);