aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkRecordPattern.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkRecordPattern.h')
-rw-r--r--src/core/SkRecordPattern.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/SkRecordPattern.h b/src/core/SkRecordPattern.h
index 57779ffd76..68a3aa315e 100644
--- a/src/core/SkRecordPattern.h
+++ b/src/core/SkRecordPattern.h
@@ -85,6 +85,10 @@ struct Or {
template <typename A, typename B, typename C>
struct Or3 : Or<A, Or<B, C> > {};
+// Matches if any of A, B, C or D does. Stores nothing.
+template <typename A, typename B, typename C, typename D>
+struct Or4 : Or<A, Or<B, Or<C, D> > > {};
+
// Star is a special matcher that greedily matches Matcher 0 or more times. Stores nothing.
template <typename Matcher>
struct Star {