File tree Expand file tree Collapse file tree 5 files changed +9
-62
lines changed Expand file tree Collapse file tree 5 files changed +9
-62
lines changed Original file line number Diff line number Diff line change 1
1
10.6.x.x (relative to 10.6.0.0a1)
2
2
========
3
3
4
+ Improvements
5
+ ------------
6
+
7
+ - RefCounted, RunTimeTyped : Inlined constructor and destructor.
8
+
4
9
Breaking Changes
5
10
----------------
6
11
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ class IECORE_API RefCounted : private boost::noncopyable
132
132
133
133
typedef size_t RefCount;
134
134
135
- RefCounted ();
135
+ RefCounted () : m_numRefs( 0 ) {}
136
136
137
137
// / Add a reference to the current object
138
138
inline void addRef () const { m_numRefs++; };
@@ -152,7 +152,7 @@ class IECORE_API RefCounted : private boost::noncopyable
152
152
153
153
protected:
154
154
155
- virtual ~RefCounted ();
155
+ virtual ~RefCounted () {}
156
156
157
157
private :
158
158
Original file line number Diff line number Diff line change @@ -218,8 +218,8 @@ class IECORE_API RunTimeTyped : public RefCounted
218
218
219
219
IE_CORE_DECLAREMEMBERPTR ( RunTimeTyped );
220
220
221
- RunTimeTyped ();
222
- ~RunTimeTyped () override ;
221
+ RunTimeTyped () {}
222
+ ~RunTimeTyped () override {}
223
223
224
224
// ! @name Type identification functions.
225
225
// / These functions provide useful queries about the typing
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -46,14 +46,6 @@ using namespace IECore;
46
46
RunTimeTyped::Mutex RunTimeTyped::g_baseTypeIdsMutex;
47
47
RunTimeTyped::Mutex RunTimeTyped::g_derivedTypeIdsMutex;
48
48
49
- RunTimeTyped::RunTimeTyped ()
50
- {
51
- }
52
-
53
- RunTimeTyped::~RunTimeTyped ()
54
- {
55
- }
56
-
57
49
TypeId RunTimeTyped::typeId () const
58
50
{
59
51
return staticTypeId ();
You can’t perform that action at this time.
0 commit comments