Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0b4ab4e

Browse files
Do not store dict pointer twice. This should fix Sanitizer report
1 parent18e28f3 commit0b4ab4e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎blobstamper/stamp_dict.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,8 @@ class StampDictLCAlphaSmall: public StampDict
5656

5757
template<classT>classStampDictT:publicStampDict
5858
{
59-
protected:
60-
std::shared_ptr<T> dict;
6159
public:
62-
StampDictT<T>(): StampDict(dict =std::make_shared<T>()) {};
60+
StampDictT<T>(): StampDict(std::make_shared<T>()) {};
6361
};
6462

6563

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp