3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-31 19:23:45 +01:00

Fix C++11 compilation.

- one return type deduction
This commit is contained in:
Olivier Parcollet 2014-10-17 11:05:14 +02:00
parent ed6379ce63
commit 3893c41fc0

View File

@ -45,7 +45,7 @@ namespace utility {
// i[0]=0;
_at_end = true;
}
AUTO_DECL index() const { return i; }
AUTO_DECL index() const RETURN(i);
long linear_index() const { return i_flat;}
bool at_end() const { return _at_end; }
void reset() {