Skip to content

Commit

Permalink
CDllImpのコンストラクタをnoexceptにする
Browse files Browse the repository at this point in the history
  • Loading branch information
berryzplus committed Mar 14, 2022
1 parent c8a993a commit 22b2a51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions sakura_core/extmodule/CDllHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
// 生成と破棄 //
// -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- //

CDllImp::CDllImp()
: m_hInstance( NULL )
CDllImp::CDllImp() noexcept
{
}

Expand Down
4 changes: 2 additions & 2 deletions sakura_core/extmodule/CDllHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class CDllImp{
// -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- //
public:
//コンストラクタ・デストラクタ
CDllImp();
CDllImp()noexcept;
CDllImp(const Me&) = delete;
Me& operator = (const Me&) = delete;
CDllImp(Me&&) noexcept = delete;
Expand Down Expand Up @@ -210,7 +210,7 @@ class CDllImp{
// メンバ変数 //
// -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- //
private:
HINSTANCE m_hInstance;
HINSTANCE m_hInstance = nullptr;
std::wstring m_strLoadedDllName;
};
#endif /* SAKURA_CDLLHANDLER_B27A5A93_E49F_4618_8958_6883D63BBABB_H_ */

0 comments on commit 22b2a51

Please sign in to comment.