From 1e50562d8affc77341a267628cbca0a4a491ee94 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 20 Mar 2018 19:16:37 +0100 Subject: Fix call to labs. ..or as clang puts it: "error: no member named 'labs' in namespace 'std'; did you mean simply 'labs'?" --- libs/ptformat/ptfformat.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.2.3