X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Farithmetic-operator.hh;h=fc6f68f65e7207c3341b0e93ff80ab85ee6adccd;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=88eeda35d55d62323c89845b3e9765abdeb0c1a1;hpb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;p=lilypond.git diff --git a/flower/include/arithmetic-operator.hh b/flower/include/arithmetic-operator.hh index 88eeda35d5..fc6f68f65e 100644 --- a/flower/include/arithmetic-operator.hh +++ b/flower/include/arithmetic-operator.hh @@ -1,20 +1,31 @@ /* - arithmetic-operator.hh -- declare + This file is part of LilyPond, the GNU music typesetter. - source file of the Flower Library + Copyright (C) 1997--2015 Han-Wen Nienhuys - (c) 1997--2008 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #ifndef ARITHMETIC_OPERATOR_HH #define ARITHMETIC_OPERATOR_HH -#define IMPLEMENT_ARITHMETIC_OPERATOR(type, op) \ - inline type \ - operator op (type a1, type const &a2) \ - { \ - a1 op ## = a2; \ - return a1; \ +#define IMPLEMENT_ARITHMETIC_OPERATOR(type, op) \ + inline type \ + operator op (type a1, type const &a2) \ + { \ + a1 op ## = a2; \ + return a1; \ } #endif /* ARITHMETIC_OPERATOR_HH */