diff options
author | Robin Gareus <robin@gareus.org> | 2018-03-20 19:16:37 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-03-20 19:16:37 +0100 |
commit | 1e50562d8affc77341a267628cbca0a4a491ee94 (patch) | |
tree | e356c6f9641a35b453dbd13d380a0105913884ba /libs | |
parent | e7f6eff84b52018399c8170ada637136437f1cb5 (diff) |
Fix call to labs.
..or as clang puts it:
"error: no member named 'labs' in namespace 'std'; did you mean
simply 'labs'?"
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ptformat/ptfformat.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ptformat/ptfformat.cc b/libs/ptformat/ptfformat.cc index bcd8e90de5..fce73f870f 100644 --- a/libs/ptformat/ptfformat.cc +++ b/libs/ptformat/ptfformat.cc @@ -1000,7 +1000,7 @@ PTFFormat::parsemidi(void) { region_t r = { std::string(""), ridx, 0, 0, 0, w, m}; if ((mregion = std::find(begin, finish, r)) != finish) { mtr.reg = *mregion; - mtr.reg.startpos = std::labs(region_pos - mtr.reg.startpos); + mtr.reg.startpos = labs(region_pos - mtr.reg.startpos); miditracks.push_back(mtr); } } |