flake: Include <cmath> rather than <math.h>

Authored by heikobecker on Sep 19 2016, 6:47 PM.

Description

flake: Include <cmath> rather than <math.h>

With the latter I get an build error with gcc-5:
"KoSnapStrategy.cpp:78:14: error: '__builtin_isfinite' is not a
member of 'std'".

Also remove no longer needed #define because plain isfinite isn't
used anymore.

Test Plan: Builds fine

Reviewers: Calligra-Devel-list, kossebau

Reviewed By: kossebau

Subscribers: kossebau

Tags: KEXI, #calligra:_3.0

Differential Revision: https://phabricator.kde.org/D2702

Details

Committed
heikobeckerSep 19 2016, 6:50 PM
Reviewer
kossebau
Differential Revision
D2702: flake: Include <cmath> rather than <math.h>
Parents
R8:4170f2b19086: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown