Skip to content

Commit a3c8625

Browse files
Minor changes and renamings
1 parent e76508d commit a3c8625

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,13 +308,13 @@ So you may add Extract method to a Galley, and use this new object as a Stamp.
308308
To add extract method to Galley you should use multiple inheritance.
309309

310310
```
311-
class ArrayOfComplexIntStamp: public GalleyVectorStr, public StampBaseStr
311+
class ArrayOfComplexIntStamp: public GalleyVectorStr, public StampBaseStr
312312
{
313313
protected:
314314
ComplexIntStamp * item_stamp_p;
315315
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;};
318318
319319
virtual std::string ExtractStr(Blob &blob) override;
320320
};
@@ -326,7 +326,7 @@ We implement only the Extract method we need.
326326

327327

328328
```
329-
std::string ArrayOfComplexIntStamp::ExtractStr(Blob &blob)
329+
std::string ComplexIntArrayStamp::ExtractStr(Blob &blob)
330330
{
331331
std::vector<std::string> data = ExtractStrVector(blob);
332332
std::string res = "";

0 commit comments

Comments
 (0)