the final rename
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef UTIL_BUFFER_POOL_HPP_
|
||||
#define UTIL_BUFFER_POOL_HPP_
|
||||
|
||||
#include "../typedefs.h"
|
||||
#include "../typedefs.hpp"
|
||||
|
||||
#include <queue>
|
||||
#include <mutex>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#ifndef UTIL_RUNNABLES_LIST_HPP_
|
||||
#define UTIL_RUNNABLES_LIST_HPP_
|
||||
|
||||
#include "../typedefs.h"
|
||||
#include "../delegates.h"
|
||||
#include "../typedefs.hpp"
|
||||
#include "../delegates.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
#ifndef UTIL_THREAD_POOL_HPP_
|
||||
#define UTIL_THREAD_POOL_HPP_
|
||||
|
||||
#include "../delegates.hpp"
|
||||
#include "../debug/Logger.hpp"
|
||||
#include "../interfaces/Task.hpp"
|
||||
|
||||
#include <queue>
|
||||
#include <atomic>
|
||||
#include <thread>
|
||||
@@ -9,10 +13,6 @@
|
||||
#include <functional>
|
||||
#include <condition_variable>
|
||||
|
||||
#include "../delegates.h"
|
||||
#include "../debug/Logger.hpp"
|
||||
#include "../interfaces/Task.hpp"
|
||||
|
||||
namespace util {
|
||||
|
||||
template<class J, class T>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <stdexcept>
|
||||
#include "../files/engine_paths.h"
|
||||
#include "../files/engine_paths.hpp"
|
||||
|
||||
class ArgsReader {
|
||||
int argc;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef UTIL_DATA_IO_HPP_
|
||||
#define UTIL_DATA_IO_HPP_
|
||||
|
||||
#include "../typedefs.h"
|
||||
#include "../typedefs.hpp"
|
||||
|
||||
namespace dataio {
|
||||
/* Read big-endian 16 bit signed integer from bytes */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef UTIL_LISTUTIL_H_
|
||||
#define UTIL_LISTUTIL_H_
|
||||
#ifndef UTIL_LISTUTIL_HPP_
|
||||
#define UTIL_LISTUTIL_HPP_
|
||||
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
@@ -15,4 +15,4 @@ namespace util {
|
||||
std::string to_string(const std::vector<std::string>& vec);
|
||||
}
|
||||
|
||||
#endif // UTIL_LISTUTIL_H_
|
||||
#endif // UTIL_LISTUTIL_HPP_
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "platform.hpp"
|
||||
|
||||
#include "../typedefs.h"
|
||||
#include "../typedefs.hpp"
|
||||
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
@@ -10,11 +10,11 @@
|
||||
#ifdef _WIN32
|
||||
#include <Windows.h>
|
||||
|
||||
#include "./stringutil.h"
|
||||
#include "./stringutil.hpp"
|
||||
|
||||
void platform::configure_encoding() {
|
||||
// set utf-8 encoding to console output
|
||||
SetConsoleOutputCP(CP_UTF8);
|
||||
// set utf-8 encoding to console output
|
||||
SetConsoleOutputCP(CP_UTF8);
|
||||
setvbuf(stdout, nullptr, _IOFBF, 1000);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef UTIL_STRINGUTIL_HPP_
|
||||
#define UTIL_STRINGUTIL_HPP_
|
||||
|
||||
#include "../typedefs.h"
|
||||
#include "../typedefs.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "timeutil.h"
|
||||
#include "timeutil.hpp"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
@@ -26,4 +26,4 @@ void timeutil::from_value(float value, int& hour, int& minute, int& second) {
|
||||
minute = int(value) % 60;
|
||||
value *= 60;
|
||||
second = int(value) % 60;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef UTIL_TIMEUTIL_H_
|
||||
#define UTIL_TIMEUTIL_H_
|
||||
#ifndef UTIL_TIMEUTIL_HPP_
|
||||
#define UTIL_TIMEUTIL_HPP_
|
||||
|
||||
#include "../typedefs.h"
|
||||
#include "../typedefs.hpp"
|
||||
#include <chrono>
|
||||
|
||||
namespace timeutil {
|
||||
@@ -34,4 +34,4 @@ namespace timeutil {
|
||||
void from_value(float value, int& hour, int& minute, int& second);
|
||||
}
|
||||
|
||||
#endif // UTIL_TIMEUTIL_H_
|
||||
#endif // UTIL_TIMEUTIL_HPP_
|
||||
Reference in New Issue
Block a user