File tree Expand file tree Collapse file tree 2 files changed +3
-18
lines changed Expand file tree Collapse file tree 2 files changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -107,16 +107,6 @@ StampBaseV<T>::ExtractBin(Blob &blob)
107
107
return v;
108
108
}
109
109
110
- class StampVariated : public virtual StampBase
111
- {
112
- protected:
113
- int min_size;
114
- int max_size;
115
- public:
116
- virtual int minSize () override {return min_size;}
117
- virtual int maxSize () override {return max_size;}
118
- };
119
-
120
110
class StampUnbounded : public virtual StampBase
121
111
{
122
112
protected:
Original file line number Diff line number Diff line change @@ -48,19 +48,14 @@ StampTwoChars::ExtractStr(Blob &blob)
48
48
}
49
49
50
50
/* ****************************************************************************/
51
- class StampSeveralChars : public StampVariated , public StampBaseStr
51
+ class StampSeveralChars : public StampBaseStr
52
52
{
53
53
public:
54
- StampSeveralChars ();
54
+ virtual int minSize () override {return 2 ;} /* Minimal size of consumed data */
55
+ virtual int maxSize () override {return 8 ;} /* Maximal size of consumed data */
55
56
std::string ExtractStr (Blob &blob) override ;
56
57
};
57
58
58
- StampSeveralChars::StampSeveralChars ()
59
- {
60
- min_size = 2 ;
61
- max_size = 8 ;
62
- }
63
-
64
59
std::string
65
60
StampSeveralChars::ExtractStr (Blob &blob)
66
61
{
You can’t perform that action at this time.
0 commit comments