File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -531,8 +531,6 @@ class SequenceWrapper {
531531 // TypeWrapper mixin for Sequences.
532532
533533 public:
534- static auto constexpr MAX_STACK = 64 ;
535-
536534 template <typename U>
537535 static constexpr const char * getName (Sequence<U>*) {
538536 // TODO(later): It would be nicer if the name included the demangled name of U
Original file line number Diff line number Diff line change @@ -538,16 +538,6 @@ class StringWrapper {
538538// =======================================================================================
539539// Optional (value or undefined) and Maybe (value or null)
540540
541- template <typename ... T>
542- constexpr bool isUnionType (kj::OneOf<T...>*) {
543- return true ;
544- }
545-
546- template <typename T>
547- constexpr bool isUnionType (T*) {
548- return false ;
549- }
550-
551541// TypeWrapper mixin for optionals.
552542template <typename TypeWrapper>
553543class OptionalWrapper {
@@ -842,7 +832,6 @@ class OneOfWrapper {
842832template <typename TypeWrapper>
843833class ArrayWrapper {
844834 public:
845- static auto constexpr MAX_STACK = 64 ;
846835 template <typename U>
847836 static constexpr const char * getName (kj::Array<U>*) {
848837 return " Array" ;
@@ -917,7 +906,6 @@ class ArrayWrapper {
917906template <typename TypeWrapper>
918907class SetWrapper {
919908 public:
920- static auto constexpr MAX_STACK = 64 ;
921909 template <typename U>
922910 static constexpr const char * getName (kj::HashSet<U>*) {
923911 return " Set" ;
You can’t perform that action at this time.
0 commit comments