got rid of the STD_SHARED_XX std/tr1 defines

This commit is contained in:
Jean-Francois Dockes 2016-07-13 15:12:25 +02:00
parent eb6465a619
commit c1d06dd450
65 changed files with 219 additions and 257 deletions

View file

@ -18,7 +18,7 @@
#include "autoconfig.h"
#include MEMORY_INCLUDE
#include <memory>
#include "log.h"
#include "utf8iter.h"
@ -57,9 +57,9 @@ bool createExpansionDbs(Xapian::WritableDatabase& wdb,
vector<XapWritableComputableSynFamMember> stemdbs;
// Note: tried to make this to work with stack-allocated objects, couldn't.
// Looks like a bug in copy constructors somewhere, can't guess where
vector<STD_SHARED_PTR<SynTermTransStem> > stemmers;
vector<std::shared_ptr<SynTermTransStem> > stemmers;
for (unsigned int i = 0; i < langs.size(); i++) {
stemmers.push_back(STD_SHARED_PTR<SynTermTransStem>
stemmers.push_back(std::shared_ptr<SynTermTransStem>
(new SynTermTransStem(langs[i])));
stemdbs.push_back(
XapWritableComputableSynFamMember(wdb, synFamStem, langs[i],