Skip to content

Commit

Permalink
Don't assume wrapped range has a const empty()
Browse files Browse the repository at this point in the history
  • Loading branch information
ntrel committed Aug 19, 2013
1 parent 8ff4bff commit 6061d74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/base64.d
Expand Up @@ -459,7 +459,7 @@ template Base64Impl(char Map62th, char Map63th, char Padding = '=')
* true if there are no more elements to be iterated.
*/
@property @trusted
bool empty() const
bool empty()
{
return range_.empty;
}
Expand Down Expand Up @@ -1125,7 +1125,7 @@ template Base64Impl(char Map62th, char Map63th, char Padding = '=')
* true if there are no more elements to be iterated.
*/
@property @trusted
bool empty() const
bool empty()
{
return range_.empty;
}
Expand Down

0 comments on commit 6061d74

Please sign in to comment.