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/sol_context.hpp b/sol/sol_context.hpp
index 9de88c9..dadf492 100644
--- a/sol/sol_context.hpp
+++ b/sol/sol_context.hpp
@@ -209,7 +209,7 @@
uint8_t ackSeqNum,
uint8_t count,
bool status,
- const Buffer& input);
+ const std::vector<uint8_t>& input);
/** @brief Send the outbound SOL payload.
*
@@ -242,7 +242,7 @@
* A copy of the SOL payload is kept here, so that when a retry needs
* to be attempted the payload is sent again.
*/
- Buffer payloadCache;
+ std::vector<uint8_t> payloadCache;
/**
* @brief Send Response for Incoming SOL payload.
@@ -257,7 +257,7 @@
*
* @param[in] out - buffer containing the SOL payload.
*/
- void sendPayload(const Buffer& out) const;
+ void sendPayload(const std::vector<uint8_t>& out) const;
};
} // namespace sol