updated include dependencies
This commit is contained in:
parent
6b0cfffe09
commit
40f5377cf1
21 changed files with 87 additions and 59 deletions
|
|
@ -38,6 +38,9 @@ struct UniqueNodeStats { virtual ~UniqueNodeStats(){} };
|
|||
#else
|
||||
#define USE_TR1 0
|
||||
#endif
|
||||
// TR1 is buggy at times
|
||||
#undef USE_TR1
|
||||
#define USE_TR1 0
|
||||
|
||||
#if USE_TR1
|
||||
#include <tr1/unordered_map>
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ SymArgs::SymArgs(const SymArgs& args) : pimpl(0), args_ptr(args.args_ptr) {
|
|||
}
|
||||
}
|
||||
|
||||
const SymArgs& SymArgs::operator=(const SymArgs& args) {
|
||||
SymArgs& SymArgs::operator=(const SymArgs& args) {
|
||||
if (args.pimpl && args.args_ptr == &args.pimpl->owned_args) {
|
||||
pimpl = new SymArgsImpl(*args.pimpl);
|
||||
args_ptr = &pimpl->owned_args;
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ class SymArgs {
|
|||
~SymArgs();
|
||||
|
||||
SymArgs(const SymArgs& args);
|
||||
const SymArgs& SymArgs::operator=(const SymArgs& other);
|
||||
SymArgs& operator=(const SymArgs& other);
|
||||
|
||||
size_t len() const;
|
||||
const std::vector<Sym>& vec() const { return *args_ptr; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue