fixed missing references on char* arguments

[SVN r25090]
This commit is contained in:
Thorsten Jørgen Ottosen
2004-09-14 21:24:20 +00:00
parent bd13c9082e
commit e6611aafb1
7 changed files with 32 additions and 29 deletions

View File

@ -42,12 +42,12 @@ namespace range_detail
// string
//////////////////////////////////////////////////////////////////////
inline bool empty( const char* s )
inline bool empty( const char* const& s )
{
return s == 0 || s[0] == 0;
}
inline bool empty( const wchar_t* s )
inline bool empty( const wchar_t* const& s )
{
return s == 0 || s[0] == 0;
}