explicit use of std::vector instead of buffer/Buffer
There were several scoped 'using buffer = std::vector<uint8_t>;' in
header files. This consolidates the code base to use
std::vector<uint8_t> instead of buffer or Buffer. This makes the code
easier to read and debug.
Change-Id: I918a0f6ca9b8e4b9d331175dccff45cbf4c8379d
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
diff --git a/sol/console_buffer.hpp b/sol/console_buffer.hpp
index b874be5..fe4bfe8 100644
--- a/sol/console_buffer.hpp
+++ b/sol/console_buffer.hpp
@@ -8,7 +8,6 @@
{
using ConsoleBuffer = std::deque<uint8_t>;
-using Buffer = std::vector<uint8_t>;
/** @class ConsoleData
*
@@ -47,7 +46,7 @@
*
* @param[in] input - data to be written to the console buffer.
*/
- void write(const Buffer& input)
+ void write(const std::vector<uint8_t>& input)
{
data.insert(data.end(), input.begin(), input.end());
}