Suppression d'initialisation de paramètres par défaut redondant,

afin que gcc 3.2 sous cygwin soit heureux.
This commit is contained in:
Hugo Clement 2002-10-24 07:51:33 +00:00
parent 2eaf800ca6
commit 8e3865202a
5 changed files with 17 additions and 17 deletions

View File

@ -1,7 +1,7 @@
// -*- C++ -*- // -*- C++ -*-
// //
// $Id: AAstar.cpp,v 1.4 2002/10/17 21:57:27 jpc Exp $ // $Id: AAstar.cpp,v 1.5 2002/10/24 07:51:33 hcl Exp $
// //
// /----------------------------------------------------------------\ // /----------------------------------------------------------------\
// | | // | |
@ -517,7 +517,7 @@ void CAStar::clear (void)
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// Modifiers : "CAStar::load()". // Modifiers : "CAStar::load()".
void CAStar::load (CNet *pNet, int delta=0, int expand=0) void CAStar::load (CNet *pNet, int delta, int expand)
{ {
net = pNet; net = pNet;

View File

@ -1,7 +1,7 @@
// -*- C++ -*- // -*- C++ -*-
// //
// $Id: MMBK.cpp,v 1.3 2002/10/17 21:57:27 jpc Exp $ // $Id: MMBK.cpp,v 1.4 2002/10/24 07:51:33 hcl Exp $
// //
// /-----------------------------------------------------------------\ // /-----------------------------------------------------------------\
// | | // | |
@ -421,7 +421,7 @@ CLofig::~CLofig (void)
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// Method : "CLofig::rflatten()". // Method : "CLofig::rflatten()".
void CLofig::rflatten (char concat=YES, char catal=YES) void CLofig::rflatten (char concat, char catal)
{ {
loins_list *pLoins; loins_list *pLoins;
@ -517,7 +517,7 @@ CPhfig::~CPhfig (void)
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// Method : "CPhfig::rflatten()". // Method : "CPhfig::rflatten()".
void CPhfig::rflatten (char concat=YES, char catal=YES) void CPhfig::rflatten (char concat, char catal)
{ {
phins_list *pPhins; phins_list *pPhins;
@ -591,8 +591,8 @@ void CPhfig::saveas (string &name)
CIns::CIns ( loins_list *lo CIns::CIns ( loins_list *lo
, phins_list *ph , phins_list *ph
, phfig_list *mod=NULL , phfig_list *mod
, phfig_list *fig=NULL , phfig_list *fig
) )
{ {
loins = lo; loins = lo;

View File

@ -1,7 +1,7 @@
// -*- C++ -*- // -*- C++ -*-
// //
// $Id: MNet.cpp,v 1.3 2002/10/17 21:57:27 jpc Exp $ // $Id: MNet.cpp,v 1.4 2002/10/24 07:51:33 hcl Exp $
// //
// /----------------------------------------------------------------\ // /----------------------------------------------------------------\
// | | // | |
@ -214,7 +214,7 @@ void CTerm::newaccess (CRect &rect, int z, int ident, CNet *net)
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// Method : "CTerm::lockalone()". // Method : "CTerm::lockalone()".
void CTerm::lockalone (bool global=false) void CTerm::lockalone (bool global)
{ {
CDRGrid::iterator coord; CDRGrid::iterator coord;
int zCoord, zMax, z; int zCoord, zMax, z;
@ -283,7 +283,7 @@ ostream &operator<< (ostream &o, CTerm &self)
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// Constructor : "CNet::CNet()". // Constructor : "CNet::CNet()".
CNet::CNet (CDRGrid *drgrid, string netName="noname") CNet::CNet (CDRGrid *drgrid, string netName)
{ {
name = netName; name = netName;
external = false; external = false;

View File

@ -1,7 +1,7 @@
// -*- C++ -*- // -*- C++ -*-
// //
// $Id: MPri.cpp,v 1.3 2002/10/17 21:57:27 jpc Exp $ // $Id: MPri.cpp,v 1.4 2002/10/24 07:51:33 hcl Exp $
// //
// /----------------------------------------------------------------\ // /----------------------------------------------------------------\
// | | // | |
@ -111,7 +111,7 @@ char CMatrixPri::nextPri (char curpri)
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// Method : "CMatrixPri::load()". // Method : "CMatrixPri::load()".
void CMatrixPri::load (CNet &net, bool global, int expand=0) void CMatrixPri::load (CNet &net, bool global, int expand)
{ {
list<CDRGrid::iterator>::iterator itNode, beginNode, endNode; list<CDRGrid::iterator>::iterator itNode, beginNode, endNode;
queue<CDRGrid::iterator*> queue1, queue2; queue<CDRGrid::iterator*> queue1, queue2;

View File

@ -1,7 +1,7 @@
// -*- C++ -*- // -*- C++ -*-
// //
// $Id: UOpts.cpp,v 1.1 2002/10/02 21:23:49 jpc Exp $ // $Id: UOpts.cpp,v 1.2 2002/10/24 07:51:33 hcl Exp $
// //
// /----------------------------------------------------------------\ // /----------------------------------------------------------------\
// | | // | |
@ -60,8 +60,8 @@ ostream &operator<< (ostream &o, const COpts::COpt *self)
void COpts::add ( string key_short void COpts::add ( string key_short
, string key_long , string key_long
, bool arg=false , bool arg
, string val="" , string val
) throw (except_done) ) throw (except_done)
{ {
long key_index; long key_index;