From 3805758e602b8a038a8710de61dbaadf74bb2216 Mon Sep 17 00:00:00 2001 From: saschawillems Date: Sun, 12 Feb 2017 13:39:08 +0100 Subject: [PATCH] Moved thread pool class to vks namespace (Refs #260) --- base/threadpool.hpp | 2 +- multithreading/multithreading.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base/threadpool.hpp b/base/threadpool.hpp index c2feea11..3f1b98c5 100644 --- a/base/threadpool.hpp +++ b/base/threadpool.hpp @@ -20,7 +20,7 @@ std::unique_ptr make_unique(Args&& ...args) return std::unique_ptr(new T(std::forward(args)...)); } -namespace vkTools +namespace vks { class Thread { diff --git a/multithreading/multithreading.cpp b/multithreading/multithreading.cpp index e37532c4..0d229632 100644 --- a/multithreading/multithreading.cpp +++ b/multithreading/multithreading.cpp @@ -105,7 +105,7 @@ public: }; std::vector threadData; - vkTools::ThreadPool threadPool; + vks::ThreadPool threadPool; // Fence to wait for all command buffers to finish before // presenting to the swap chain