# HG changeset patch # User Alpar Juttner # Date 1429020872 -7200 # Node ID 0998f70d0b2d0e22855c1d44e88b767197a00d8d # Parent 4add05447ca00f659a054e88a7e0842a66f8b041 Clang -std=c++11 related fixes (#325) diff -r 4add05447ca0 -r 0998f70d0b2d lemon/bits/path_dump.h --- a/lemon/bits/path_dump.h Tue Apr 14 08:39:40 2015 +0200 +++ b/lemon/bits/path_dump.h Tue Apr 14 16:14:32 2015 +0200 @@ -61,7 +61,7 @@ if (path->predMap[current] == INVALID) current = INVALID; } - operator const typename Digraph::Arc() const { + operator typename Digraph::Arc() const { return path->predMap[current]; } diff -r 4add05447ca0 -r 0998f70d0b2d lemon/random.h --- a/lemon/random.h Tue Apr 14 08:39:40 2015 +0200 +++ b/lemon/random.h Tue Apr 14 16:14:32 2015 +0200 @@ -249,8 +249,8 @@ current = state + length; - register Word *curr = state + length - 1; - register long num; + Word *curr = state + length - 1; + long num; num = length - shift; while (num--) {