aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/support
diff options
context:
space:
mode:
authorGravatar Konstantin Podsvirov <konstantin@podsvirov.pro>2015-09-01 16:18:57 +0300
committerGravatar Konstantin Podsvirov <konstantin@podsvirov.pro>2015-09-01 16:18:57 +0300
commitdc90c13bec469fcbc69fc12db487c07ed94f649d (patch)
treeb0730447fea02aacb3e0ed5b092cfa388efaa7df /include/grpc++/support
parent924b67da5e3d72651d62e2ac5b77600fd6b50b93 (diff)
Move static value grpc::string_ref::npos definition to cc file
Diffstat (limited to 'include/grpc++/support')
-rw-r--r--include/grpc++/support/string_ref.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc++/support/string_ref.h b/include/grpc++/support/string_ref.h
index 2bc1fecefe..32995b834f 100644
--- a/include/grpc++/support/string_ref.h
+++ b/include/grpc++/support/string_ref.h
@@ -53,7 +53,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) {}