COIN-OR::LEMON - Graph Library

Changeset 1157:761fe0846f49 in lemon for lemon/concepts/maps.h


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

Fix clang compilation warnings and errors (#449)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/concepts/maps.h

    r1125 r1157  
    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.