From: <sv...@ww...> - 2004-06-29 11:18:24
|
Author: delta Date: 2004-06-29 04:18:18 -0700 (Tue, 29 Jun 2004) New Revision: 1115 Modified: trunk/CSP/CSPSim/Source/LogoScreen.cpp Log: Initializer list. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1115 Modified: trunk/CSP/CSPSim/Source/LogoScreen.cpp =================================================================== --- trunk/CSP/CSPSim/Source/LogoScreen.cpp 2004-06-29 11:17:34 UTC (rev 1114) +++ trunk/CSP/CSPSim/Source/LogoScreen.cpp 2004-06-29 11:18:18 UTC (rev 1115) @@ -46,9 +46,9 @@ //extern OpenThreads::Barrier bar; -LogoScreen::LogoScreen(int width, int height) { - m_width = width; - m_height = height; +LogoScreen::LogoScreen(int width, int height): + m_width(width), + m_height(height) { } LogoScreen::~LogoScreen() { |