Use std[::tr1]::shared_ptr instead of local RefCntr by default
This commit is contained in:
parent
143b3e92b6
commit
b71c399fe7
61 changed files with 313 additions and 288 deletions
|
@ -70,7 +70,7 @@ bool Db::docDups(const Doc& idoc, vector<Doc>& odocs)
|
|||
MD5HexPrint(digest, md5);
|
||||
|
||||
SearchData *sdp = new SearchData();
|
||||
RefCntr<SearchData> sd(sdp);
|
||||
STD_SHARED_PTR<SearchData> sd(sdp);
|
||||
SearchDataClauseSimple *sdc =
|
||||
new SearchDataClauseSimple(SCLT_AND, md5, "rclmd5");
|
||||
sdc->addModifier(SearchDataClause::SDCM_CASESENS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue