OSDN Git Service

EditorFilepathBar.cpp: Use member initialization list instead of assignment
authorsdottaka <sdottaka@sourceforge.net>
Sat, 19 Jul 2014 08:09:33 +0000 (17:09 +0900)
committersdottaka <sdottaka@sourceforge.net>
Sat, 19 Jul 2014 08:09:33 +0000 (17:09 +0900)
--HG--
branch : stable

Src/EditorFilepathBar.cpp

index 2255a81..de21a95 100644 (file)
@@ -45,9 +45,8 @@ END_MESSAGE_MAP()
  * @brief Constructor.
  */
 CEditorFilePathBar::CEditorFilePathBar()
-: m_pFont(NULL)
+: m_pFont(NULL), m_nPanes(2)
 {
-       m_nPanes = 2;
 }
 
 /**