diff --git a/source/lib/res/sound/snd_mgr.cpp b/source/lib/res/sound/snd_mgr.cpp index 2a94ec6272..3a71b1df58 100644 --- a/source/lib/res/sound/snd_mgr.cpp +++ b/source/lib/res/sound/snd_mgr.cpp @@ -1465,7 +1465,7 @@ static bool is_null(VSrc* vs) */ static void list_prune_removed() { - VSrcIt new_end = remove_if(vsrcs.begin(), vsrcs.end(), is_null); + VSrcIt new_end = std::remove_if(vsrcs.begin(), vsrcs.end(), is_null); vsrcs.erase(new_end, vsrcs.end()); } diff --git a/source/lib/tests/test_adts.h b/source/lib/tests/test_adts.h index cef0c3b033..b4b3873277 100644 --- a/source/lib/tests/test_adts.h +++ b/source/lib/tests/test_adts.h @@ -92,7 +92,7 @@ public: TS_ASSERT_EQUALS(buf.size(), deq.size()); RingBuf::iterator begin = buf.begin(), end = buf.end(); - TS_ASSERT(equal(begin, end, deq.begin())); + TS_ASSERT(std::equal(begin, end, deq.begin())); } } };