1 diff -Naur mysql++-3.1.0.old//lib/refcounted.h mysql++-3.1.0/lib/refcounted.h
2 --- mysql++-3.1.0.old//lib/refcounted.h 2010-06-03 19:59:23.000000000 +0200
3 +++ mysql++-3.1.0/lib/refcounted.h 2011-04-23 12:35:39.943366970 +0200
6 std::auto_ptr<T> exception_guard(counted_);
8 - refs_ = new size_t(1);
9 + refs_ = new std::size_t(1);
11 exception_guard.release(); // previous new didn't throw
14 /// We can't keep this as a plain integer because this object
15 /// allows itself to be copied. All copies need to share this
16 /// reference count, not just the pointer to the counted object.