From 142117991fae65646bc5dd59d96c4a5c5e8559ca Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期四, 10 八月 2017 14:54:25 +0800
Subject: [PATCH] bug fix
---
VisitFace/RtspNativeCodec/app/libs/capnproto/include/kj/parse/char.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/VisitFace/RtspNativeCodec/app/libs/capnproto/include/kj/parse/char.h b/VisitFace/RtspNativeCodec/app/libs/capnproto/include/kj/parse/char.h
index 2e6d519..ee582bd 100644
--- a/VisitFace/RtspNativeCodec/app/libs/capnproto/include/kj/parse/char.h
+++ b/VisitFace/RtspNativeCodec/app/libs/capnproto/include/kj/parse/char.h
@@ -111,6 +111,13 @@
return (bits[c / 64] & (1ll << (c % 64))) != 0;
}
+ inline bool containsAll(ArrayPtr<const char> text) const {
+ for (char c: text) {
+ if (!contains(c)) return false;
+ }
+ return true;
+ }
+
template <typename Input>
Maybe<char> operator()(Input& input) const {
if (input.atEnd()) return nullptr;
--
Gitblit v1.8.0