COIN-OR::LEMON - Graph Library

Changeset 963:761fe0846f49 in lemon-1.2 for lemon/concepts/maps.h


Ignore:
Timestamp:
09/13/12 11:45:36 (12 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
964:7fdaa05a69a1, 967:c5990f454032
Phase:
public
Message:

Fix clang compilation warnings and errors (#449)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/concepts/maps.h

    r953 r963  
    5050      /// Returns the value associated with the given key.
    5151      Value operator[](const Key &) const {
    52         return *static_cast<Value *>(0);
     52        return *(static_cast<Value *>(0)+1);
    5353      }
    5454
Note: See TracChangeset for help on using the changeset viewer.