diff options
author | Marius Kintel <marius@kintel.net> | 2013-12-27 23:04:52 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-12-27 23:04:52 (GMT) |
commit | 3e464d01a76a271790f7fc73eb1a8e3ef270fd6f (patch) | |
tree | 354379c7122e60f5599e83cb76279504e2d0837c /src/calc.h | |
parent | 11ab95385f7b61ea2985c01ac2e85b5ce51a58fb (diff) |
Use namespace instead of class method
Diffstat (limited to 'src/calc.h')
-rw-r--r-- | src/calc.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,9 +1,8 @@ #ifndef CALC_H_ #define CALC_H_ -class Calc { -public: - static int get_fragments_from_r(double r, double fn, double fs, double fa); -}; +namespace Calc { + int get_fragments_from_r(double r, double fn, double fs, double fa); +} #endif |