aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-08-08 21:32:43 +0800
committerchai <chaifix@163.com>2018-08-08 21:32:43 +0800
commiteabafd27dd22866673a1e777c74126f53e27b3e7 (patch)
treefccd6b8076f800c264c175aad97207396068cf7d
parenta26aad9df5dfdfe752124a989fef0287783837f1 (diff)
*update
-rw-r--r--libjin/3rdparty/tekcos/tekcos.h1
-rw-r--r--libjin/Common/Subsystem.hpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/libjin/3rdparty/tekcos/tekcos.h b/libjin/3rdparty/tekcos/tekcos.h
index 0ec22fd..a212aae 100644
--- a/libjin/3rdparty/tekcos/tekcos.h
+++ b/libjin/3rdparty/tekcos/tekcos.h
@@ -1,3 +1,4 @@
+// copyright chai
#ifndef _TEKCOS_H
#define _TEKCOS_H
diff --git a/libjin/Common/Subsystem.hpp b/libjin/Common/Subsystem.hpp
index f4e270b..c3af3dc 100644
--- a/libjin/Common/Subsystem.hpp
+++ b/libjin/Common/Subsystem.hpp
@@ -14,7 +14,7 @@ namespace jin
struct Setting {};
typedef Setting SettingBase;
- bool init(const SettingBase* setting)
+ bool init(const SettingBase* setting = nullptr)
{
static bool success = initSystem(setting);
return success;