summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/lib/utils.cc')
-rw-r--r--gr-uhd/lib/utils.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/gr-uhd/lib/utils.cc b/gr-uhd/lib/utils.cc
index 0351d6370..e81241303 100644
--- a/gr-uhd/lib/utils.cc
+++ b/gr-uhd/lib/utils.cc
@@ -21,16 +21,3 @@
*/
#include "utils.h" //local include
-#include <stdint.h>
-#include <complex>
-#include <stdexcept>
-
-size_t get_size(const std::string &type){
- if(type == "32fc"){
- return sizeof(std::complex<float>);
- }
- if(type == "16sc"){
- return sizeof(std::complex<int16_t>);
- }
- throw std::runtime_error("unknown type");
-}