@@ -3,7 +3,7 @@
- c99
- c++11
-gcc4.8+, msvc2013+
+gcc4.8+, msvc2015+
## Dependencies
modify config.mk
@@ -61,6 +61,7 @@
#endif
// __clang__
+// HV_EXPORT
#ifdef HV_STATICLIB
#define HV_EXPORT
#elif defined(OS_WIN)
@@ -12,9 +12,6 @@
#include <memory>
#include <utility>
-//#include "hlog.h"
-#include "hthread.h"
-
class HThreadPool {
public:
using Task = std::function<void()>;
@@ -1,6 +1,7 @@
#include <stdio.h>
#include "hthreadpool.h"
+#include "hthread.h"
#include "htime.h"
void print_task(int i) {
@@ -19,7 +19,7 @@ key = value # span
***********************************/
class IniNode {
- public:
+public:
enum Type {
INI_NODE_TYPE_UNKNOWN,
INI_NODE_TYPE_ROOT,
@@ -89,7 +89,7 @@ public:
};
class IniParser {
IniParser();
~IniParser();
@@ -116,7 +116,7 @@ class IniParser {
template<typename T>
void Set(const string& key, const T& value, const string& section = "");
- private:
+private:
string _comment;
string _delim;
string _filepath;