Kaydet (Commit) 4a760a8d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Replace IMPL_STATIC_LINK[_TYPED] with more useful variants

Change-Id: Ic59c2c9079dce37ad76b6a1396a719d372253674
üst db51562c
...@@ -210,9 +210,8 @@ namespace ...@@ -210,9 +210,8 @@ namespace
DECL_STATIC_LINK( MacroExecution, ExecuteMacroEvent, MacroExecutionData* ); DECL_STATIC_LINK( MacroExecution, ExecuteMacroEvent, MacroExecutionData* );
}; };
IMPL_STATIC_LINK( MacroExecution, ExecuteMacroEvent, MacroExecutionData*, i_pData ) IMPL_STATIC_LINK_NOINSTANCE( MacroExecution, ExecuteMacroEvent, MacroExecutionData*, i_pData )
{ {
(void)pThis;
ENSURE_OR_RETURN( i_pData, "wrong MacroExecutionData", 0L ); ENSURE_OR_RETURN( i_pData, "wrong MacroExecutionData", 0L );
// take ownership of the data // take ownership of the data
boost::scoped_ptr< MacroExecutionData > pData( i_pData ); boost::scoped_ptr< MacroExecutionData > pData( i_pData );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment