mirror of
https://github.com/triqs/dft_tools
synced 2025-01-12 14:08:24 +01:00
Fix C++11 compilation.
- one return type deduction
This commit is contained in:
parent
ed6379ce63
commit
3893c41fc0
@ -45,7 +45,7 @@ namespace utility {
|
|||||||
// i[0]=0;
|
// i[0]=0;
|
||||||
_at_end = true;
|
_at_end = true;
|
||||||
}
|
}
|
||||||
AUTO_DECL index() const { return i; }
|
AUTO_DECL index() const RETURN(i);
|
||||||
long linear_index() const { return i_flat;}
|
long linear_index() const { return i_flat;}
|
||||||
bool at_end() const { return _at_end; }
|
bool at_end() const { return _at_end; }
|
||||||
void reset() {
|
void reset() {
|
||||||
|
Loading…
Reference in New Issue
Block a user