From 2a52f563603269c5d567b819a116ef8a67040398 Mon Sep 17 00:00:00 2001 From: jan p springer Date: Fri, 22 Nov 2013 21:32:33 +0000 Subject: [PATCH] fixed: printf -> std::printf and missing include --- test/core/core_type_vec4.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/core/core_type_vec4.cpp b/test/core/core_type_vec4.cpp index e464832a..cd4f05e1 100644 --- a/test/core/core_type_vec4.cpp +++ b/test/core/core_type_vec4.cpp @@ -11,6 +11,7 @@ #include #include #include +#include #include #include @@ -317,7 +318,7 @@ int test_vec4_perf_AoS(std::size_t Size) std::clock_t EndTime = std::clock(); - printf("AoS: %d\n", EndTime - StartTime); + std::printf("AoS: %d\n", EndTime - StartTime); return Error; } @@ -356,7 +357,7 @@ int test_vec4_perf_SoA(std::size_t Size) std::clock_t EndTime = std::clock(); - printf("SoA: %d\n", EndTime - StartTime); + std::printf("SoA: %d\n", EndTime - StartTime); return Error; }