C++ inline vs. method

If you leave out return, gcc will probably yell at you for not returning a value in a function that was declared with a return type.