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

メモリバッファクラスをx64対応できるように書き替える #1618

Merged
Prev Previous commit
Next Next commit
SonarCloud警告対応
  • Loading branch information
berryzplus committed Apr 8, 2021
commit 875b687a6ff1210cf67fad3678303f37c5c4477b
2 changes: 1 addition & 1 deletion sakura_core/mem/CNativeW.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class CStringRef final{
public:
CStringRef() noexcept = default;
CStringRef( const wchar_t* pData, size_t nDataLen ) noexcept;
CStringRef( const CNativeW& cmem ) noexcept;
explicit CStringRef( const CNativeW& cmem ) noexcept;

[[nodiscard]] const wchar_t* GetPtr() const noexcept { return m_pData; }
[[nodiscard]] int GetLength() const noexcept { return static_cast<int>(m_nDataLen); }
Expand Down