Skip to content

Commit

Permalink
CFileExtのコンストラクタをdefault指定にしデストラクタを暗黙生成にする
Browse files Browse the repository at this point in the history
  • Loading branch information
usagisita committed Mar 21, 2021
1 parent 4cbf16e commit 5a77929
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
10 changes: 0 additions & 10 deletions sakura_core/CFileExt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,6 @@
#include "CFileExt.h"
#include "env/CDocTypeManager.h"

CFileExt::CFileExt()
{
m_vstrFilter.resize( 1 );
m_vstrFilter[0] = L'\0';

// //テキストエディタとして、既定でリストに載ってほしい拡張子
// AppendExt( "すべてのファイル", "*" );
// AppendExt( "テキストファイル", "txt" );
}

bool CFileExt::AppendExt( const WCHAR *pszName, const WCHAR *pszExt )
{
std::wstring workExt = CDocTypeManager::ConvertTypesExtToDlgExt(pszExt, nullptr);
Expand Down
3 changes: 1 addition & 2 deletions sakura_core/CFileExt.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@
class CFileExt
{
public:
CFileExt();
~CFileExt() = default;
CFileExt() = default;

bool AppendExt( const WCHAR *pszName, const WCHAR *pszExt );
bool AppendExtRaw( const WCHAR *pszName, const WCHAR *pszExt );
Expand Down

0 comments on commit 5a77929

Please sign in to comment.