diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2017-06-04 17:39:52 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2017-06-04 17:39:52 +0200 |
commit | 094c977b8877d652f629260cc753aacc7000e328 (patch) | |
tree | 96443f22bf31e93fd76b3dcef8c6ce57bddc5139 /include/decoder.h | |
parent | d30e3fa68d7192da22c1569f56f564b92896170d (diff) | |
download | radio-controller-094c977b8877d652f629260cc753aacc7000e328.tar.gz radio-controller-094c977b8877d652f629260cc753aacc7000e328.tar.bz2 radio-controller-094c977b8877d652f629260cc753aacc7000e328.tar.xz radio-controller-094c977b8877d652f629260cc753aacc7000e328.zip |
o Daewoo -> Samsung.
Diffstat (limited to 'include/decoder.h')
-rw-r--r-- | include/decoder.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/decoder.h b/include/decoder.h index 55e7d96..56ea647 100644 --- a/include/decoder.h +++ b/include/decoder.h @@ -1,5 +1,7 @@ #pragma once +#include <cstdint> + namespace radio_controller { struct sample { @@ -26,7 +28,8 @@ class bit_string final { int size_ = 0; public: - int size() const { + int size() const + { return size_; } @@ -42,7 +45,6 @@ public: } } - __noinline void append(bool value) { if (size_ < 32) { |