diff options
author | Josh Haberman <jhaberman@gmail.com> | 2019-01-25 15:03:22 -0800 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2019-01-25 15:03:22 -0800 |
commit | c4327e55ac186383f909d52ddd363971a2c60562 (patch) | |
tree | 83ca16eb92e3005f868aed034c7304c337bbc94f /upb/sink.h | |
parent | 8980f6db5c4d28de9dd8773ae27c823767122970 (diff) |
A few more fixes.
Diffstat (limited to 'upb/sink.h')
-rw-r--r-- | upb/sink.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -503,7 +503,7 @@ bool upb_bufsrc_putbuf(const char *buf, size_t len, upb_bytessink sink); namespace upb { template <class T> bool PutBuffer(const T& str, BytesSink sink) { - return upb_bufsrc_putbuf(str.c_str(), str.size(), sink.sink()); + return upb_bufsrc_putbuf(str.data(), str.size(), sink.sink()); } } |