isospin::~isospin()
{
debugmsg("isospin destructor",LOGLEVEL_DESTRUCT);
- destroy(0);
+ destroy(false);
}
isospin::isospin(const isospin & other)
{
debugmsg("isospin operator=",LOGLEVEL_ASSIGNMENT);
if (this != &other) {
- destroy(1);
+ destroy(true);
copy(other);
}
return *this;
unsigned isospin::calchash(void) const
{
- hashvalue=golden_ratio_hash(golden_ratio_hash(0x55555556U ^
- golden_ratio_hash(tinfo_key) ^
- serial));
+ hashvalue = golden_ratio_hash(golden_ratio_hash(0x55555556U ^
+ golden_ratio_hash(tinfo_key) ^ serial));
setflag(status_flags::hash_calculated);
return hashvalue;
}
//////////
const isospin some_isospin;
-const type_info & typeid_isospin=typeid(some_isospin);
+const std::type_info & typeid_isospin = typeid(some_isospin);
#ifndef NO_NAMESPACE_GINAC
} // namespace GiNaC