File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -308,13 +308,13 @@ So you may add Extract method to a Galley, and use this new object as a Stamp.
308
308
To add extract method to Galley you should use multiple inheritance.
309
309
310
310
```
311
- class ArrayOfComplexIntStamp: public GalleyVectorStr, public StampBaseStr
311
+ class ArrayOfComplexIntStamp: public GalleyVectorStr, public StampBaseStr
312
312
{
313
313
protected:
314
314
ComplexIntStamp * item_stamp_p;
315
315
public:
316
- ArrayOfComplexIntStamp (): GalleyVectorStr(*(item_stamp_p = new ComplexIntStamp())) {};
317
- ~ArrayOfComplexIntStamp () {delete item_stamp_p;};
316
+ ComplexIntArrayStamp (): GalleyVectorStr(*(item_stamp_p = new ComplexIntStamp())) {};
317
+ ~ComplexIntArrayStamp () {delete item_stamp_p;};
318
318
319
319
virtual std::string ExtractStr(Blob &blob) override;
320
320
};
@@ -326,7 +326,7 @@ We implement only the Extract method we need.
326
326
327
327
328
328
```
329
- std::string ArrayOfComplexIntStamp ::ExtractStr(Blob &blob)
329
+ std::string ComplexIntArrayStamp ::ExtractStr(Blob &blob)
330
330
{
331
331
std::vector<std::string> data = ExtractStrVector(blob);
332
332
std::string res = "";
You can’t perform that action at this time.
0 commit comments