File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
/* *****************************************************************************
2
2
*
3
- * Copyright 2021 Nikolay Shaplov (Postgres Professional)
3
+ * Copyright 2021-2023 Nikolay Shaplov (Postgres Professional)
4
4
*
5
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
6
* you may not use this file except in compliance with the License.
@@ -56,7 +56,7 @@ GalleyVectorStr::ExtractStrVector(Blob &blob)
56
56
57
57
for (int i = 0 ; i<blobs.size (); i++)
58
58
{
59
- res[i] = s_stamp .ExtractStr (blobs[i]);
59
+ res[i] = ( dynamic_cast <StampBaseStr &>(stamp)) .ExtractStr (blobs[i]); // We know for sure that stamp is StampBaseStr
60
60
}
61
61
return res;
62
62
}
Original file line number Diff line number Diff line change 1
1
/* *****************************************************************************
2
2
*
3
- * Copyright 2021 Nikolay Shaplov (Postgres Professional)
3
+ * Copyright 2021-2023 Nikolay Shaplov (Postgres Professional)
4
4
*
5
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
6
* you may not use this file except in compliance with the License.
@@ -54,9 +54,8 @@ class GalleyVectorBase : public GalleyBase
54
54
55
55
class GalleyVectorStr : public GalleyVectorBase
56
56
{
57
- StampBaseStr & s_stamp;
58
57
public:
59
- GalleyVectorStr (StampBaseStr & stamp_arg): GalleyVectorBase(stamp_arg), s_stamp(stamp_arg) {};
58
+ GalleyVectorStr (StampBaseStr & stamp_arg): GalleyVectorBase(stamp_arg) {};
60
59
std::vector<std::string> ExtractStrVector (Blob &blob);
61
60
};
62
61
You can’t perform that action at this time.
0 commit comments