Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLL読み込み失敗のテストを追加する #1819

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CDllImpのコンストラクタをnoexceptにする
  • Loading branch information
berryzplus committed Mar 14, 2022
commit 22b2a51fd2a8da467951ca83f24005daf15f4592
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_ */