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

CCommandLine::GetFileNumの戻り値をintにキャストする #1563

Merged
merged 2 commits into from
Mar 4, 2021
Merged
Changes from all commits
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
2 changes: 1 addition & 1 deletion sakura_core/_main/CCommandLine.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class CCommandLine : public TSingleton<CCommandLine> {
tagSIZE GetWindowSize() const noexcept { return { m_fi.m_nWindowSizeX, m_fi.m_nWindowSizeY }; }
tagPOINT GetWindowOrigin() const noexcept { return { m_fi.m_nWindowOriginX, m_fi.m_nWindowOriginY }; }
LPCWSTR GetOpenFile() const noexcept { return m_fi.m_szPath; }
int GetFileNum(void) const noexcept { return m_vFiles.size(); }
int GetFileNum(void) const noexcept { return static_cast<int>(m_vFiles.size()); }
const WCHAR* GetFileName(int i) const noexcept { return i < GetFileNum() ? m_vFiles[i].c_str() : NULL; }
void ClearFile(void) noexcept { m_vFiles.clear(); }
LPCWSTR GetDocType() const noexcept { return m_fi.m_szDocType; }
Expand Down