added castValue()-method
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@865 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-04-02 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
* include/automatable_model.h:
|
||||
added castValue()-method
|
||||
|
||||
2008-04-01 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
* plugins/ladspa_effect/Makefile.am:
|
||||
|
||||
@@ -96,6 +96,11 @@ public:
|
||||
return( 1 );
|
||||
}
|
||||
|
||||
template<class V>
|
||||
static inline T castValue( V _v )
|
||||
{
|
||||
return( static_cast<T>( _v ) );
|
||||
}
|
||||
|
||||
inline virtual T value( void ) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user