gravatar
kpeter (Peter Kovacs)
kpeter@inf.elte.hu
Bug fix in maps.h.
0 1 0
default
1 file changed with 2 insertions and 2 deletions:
↑ Collapse diff ↑
Show white space 12 line context
... ...
@@ -1305,13 +1305,13 @@
1305 1305
  ///\sa InserterBoolMap
1306 1306
  template <typename Container,
1307 1307
            typename Functor =
1308 1308
            _maps_bits::Identity<typename Container::value_type> >
1309 1309
  class BackInserterBoolMap {
1310 1310
  public:
1311
    typedef typename Container::value_type Key;
1311
    typedef typename Functor::argument_type Key;
1312 1312
    typedef bool Value;
1313 1313

	
1314 1314
    /// Constructor
1315 1315
    BackInserterBoolMap(Container& _container, 
1316 1316
                        const Functor& _functor = Functor()) 
1317 1317
      : container(_container), functor(_functor) {}
... ...
@@ -1340,13 +1340,13 @@
1340 1340
  ///\sa InserterBoolMap
1341 1341
  template <typename Container,
1342 1342
            typename Functor =
1343 1343
            _maps_bits::Identity<typename Container::value_type> >
1344 1344
  class FrontInserterBoolMap {
1345 1345
  public:
1346
    typedef typename Container::value_type Key;
1346
    typedef typename Functor::argument_type Key;
1347 1347
    typedef bool Value;
1348 1348

	
1349 1349
    /// Constructor
1350 1350
    FrontInserterBoolMap(Container& _container,
1351 1351
                         const Functor& _functor = Functor()) 
1352 1352
      : container(_container), functor(_functor) {}
0 comments (0 inline)