Remove memtables from ConCmdManager (bug 5899 part 3, r=fyren).

This commit is contained in:
David Anderson
2013-08-31 19:50:15 -07:00
parent ba927964c8
commit 67ce8aff61
3 changed files with 52 additions and 39 deletions
+7
View File
@@ -58,6 +58,13 @@ class Newborn
mutable T *thing_;
};
template <typename T>
static inline Newborn<T>
NoAddRef(T *t)
{
return Newborn<T>(t);
}
// When returning a value, we'd rather not be needlessly changing the refcount,
// so we have a special type to use for returns.
template <typename T>