From 3f4820eacf4abaed6d29d291a76750f43b26d22b Mon Sep 17 00:00:00 2001 From: Brian Heim Date: Wed, 18 Dec 2019 22:33:29 -0600 Subject: [PATCH] SC: use std:: for printf --- src/SuperColliderEngine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SuperColliderEngine.cpp b/src/SuperColliderEngine.cpp index 7f9bdb2..f796f09 100644 --- a/src/SuperColliderEngine.cpp +++ b/src/SuperColliderEngine.cpp @@ -331,11 +331,11 @@ void SC_VcvPrototypeClient::evaluateProcessBlock(ProcessBlock* block) noexcept { if (gmax < ticks) { gmax = ticks; - printf("MAX TIME %lld\n", ticks); + std::printf("MAX TIME %lld\n", ticks); } if (timesIndex == 0) { - printf("AVG TIME %lld\n", std::accumulate(std::begin(times), std::end(times), 0ull) / nTimes); + std::printf("AVG TIME %lld\n", std::accumulate(std::begin(times), std::end(times), 0ull) / nTimes); } #endif }