[wpdev-commits] wolfpack factory.h,1.3,1.4
Brought to you by:
rip,
thiagocorrea
|
From: <thi...@pr...> - 2004-01-30 18:25:46
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8725 Modified Files: factory.h Log Message: Fix for -pedantic compile with gcc Index: factory.h =================================================================== RCS file: /cvsroot/wpdev/wolfpack/factory.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** factory.h 28 Jan 2004 02:18:13 -0000 1.3 --- factory.h 30 Jan 2004 18:24:08 -0000 1.4 *************** *** 50,54 **** bool registerType(const keyType& id, productCreator creator) { ! return associations_.insert( mapTypes::value_type( id, creator ) ).second; } --- 50,54 ---- bool registerType(const keyType& id, productCreator creator) { ! return associations_.insert( std::make_pair( id, creator ) ).second; } |