From eabafd27dd22866673a1e777c74126f53e27b3e7 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 8 Aug 2018 21:32:43 +0800 Subject: *update --- libjin/3rdparty/tekcos/tekcos.h | 1 + libjin/Common/Subsystem.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.1-26-g67d0