forked from boostorg/range
fixed missing references on char* arguments
[SVN r25090]
This commit is contained in:
1 parent
bd13c9082e
commit
e6611aafb1
7 files changed
+32
-29
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user