diff options
author | Josh Blum <josh@joshknows.com> | 2011-11-12 15:45:52 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-11-12 15:45:52 -0800 |
commit | dd782308940e4b206e798eb2f0fa203b6e8c7f07 (patch) | |
tree | 9111a6128a4351ca7d9773e5ee4d057871ffd7b7 /host/lib/convert/convert_impl.cpp | |
parent | 74106084ed94668f11777f856e9b42e80b5d6599 (diff) | |
download | uhd-dd782308940e4b206e798eb2f0fa203b6e8c7f07.tar.gz uhd-dd782308940e4b206e798eb2f0fa203b6e8c7f07.tar.bz2 uhd-dd782308940e4b206e798eb2f0fa203b6e8c7f07.zip |
convert: made conversion functions into classes so they can keep state
Diffstat (limited to 'host/lib/convert/convert_impl.cpp')
-rw-r--r-- | host/lib/convert/convert_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/convert/convert_impl.cpp b/host/lib/convert/convert_impl.cpp index f05be6ada..12ad54486 100644 --- a/host/lib/convert/convert_impl.cpp +++ b/host/lib/convert/convert_impl.cpp @@ -69,8 +69,8 @@ UHD_SINGLETON_FCN(fcn_table_type, get_table); **********************************************************************/ void uhd::convert::register_converter( const id_type &id, - function_type fcn, - priority_type prio + const function_type &fcn, + const priority_type prio ){ //get a reference to the function table fcn_table_type &table = get_table(); |