Skip to content
Snippets Groups Projects
Commit 9beccc60 authored by Craig Tiller's avatar Craig Tiller
Browse files

Merge github.com:grpc/grpc into new_op

parents a147aee7 187c4b36
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ class string_ref {
typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
// constants
const static size_t npos = size_t(-1);
const static size_t npos;
// construct/copy.
string_ref() : data_(nullptr), length_(0) {}
......
......@@ -40,7 +40,7 @@
namespace grpc {
const size_t string_ref::npos;
const size_t string_ref::npos = size_t(-1);
string_ref& string_ref::operator=(const string_ref& rhs) {
data_ = rhs.data_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment