X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbackgroundsupr.cpp;fp=src%2Fbackgroundsupr.cpp;h=8107a9e0b1b280d67091c2eb391f5be2c690eb74;hb=999a754d1519a49ca062ee87b22bf601c1ee9f21;hp=13c1e32de81cf5f013e1aa6169903cd3f785e29b;hpb=d850a3477e9ccaecfa85e00bc619848fcc29bdb6;p=ctsim.git diff --git a/src/backgroundsupr.cpp b/src/backgroundsupr.cpp index 13c1e32..8107a9e 100644 --- a/src/backgroundsupr.cpp +++ b/src/backgroundsupr.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2001 Kevin Rosenberg ** -** $Id: backgroundsupr.cpp,v 1.18 2001/03/09 21:31:51 kevin Exp $ +** $Id: backgroundsupr.cpp,v 1.19 2001/03/11 06:34:37 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -62,7 +62,7 @@ BackgroundSupervisor::BackgroundSupervisor (SupervisorThread* pMyThread, wxFrame m_iNumThreads = theApp->getNumberCPU(); // ++m_iNumThreads; - m_vecpThreads.reserve (m_iNumThreads); + m_vecpThreads.resize (m_iNumThreads); for (int iThread = 0; iThread < m_iNumThreads; iThread++) m_vecpThreads[iThread] = NULL;