diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2017-02-12 13:16:14 +0000 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2017-02-12 13:16:14 +0000 |
commit | bc0613c65e15fd4183137c066646c28f98470ed6 (patch) | |
tree | fe1ea781bda8a235c449af1c5434244827856ed0 /src | |
parent | 3740b709a39e4a1eca7a5fbd598e8554944ce0e7 (diff) | |
download | atracdenc-bc0613c65e15fd4183137c066646c28f98470ed6.tar.gz |
Fix compilation eror (missed include)
Diffstat (limited to 'src')
-rw-r--r-- | src/pcmengin.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pcmengin.h b/src/pcmengin.h index b9697ff..629f98b 100644 --- a/src/pcmengin.h +++ b/src/pcmengin.h @@ -22,6 +22,7 @@ #include <memory> #include <exception> #include <functional> +#include <cstdlib> #include <assert.h> #include <string.h> @@ -61,13 +62,13 @@ public: T* operator[](size_t pos) { size_t rpos = pos * NumChannels; if (rpos >= Buf_.size()) - abort(); + std::abort(); return &Buf_[rpos]; } const T* operator[](size_t pos) const { size_t rpos = pos * NumChannels; if (rpos >= Buf_.size()) - abort(); + std::abort(); return &Buf_[rpos]; } uint16_t Channels() const { |