Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
controller: Change database cetification buffer return value type
Browse files Browse the repository at this point in the history
Removed the reference from the return value type of the certification
buffer allocate and get function.

Signed-off-by: Moran Shoeg <[email protected]>
  • Loading branch information
morantr authored and rmelotte committed Nov 7, 2019
1 parent 0ddd84c commit 0655aa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controller/src/beerocks/master/db/db.h
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,8 @@ class db {
//
// certification
//
std::shared_ptr<uint8_t> &get_certification_tx_buffer() { return certification_tx_buffer; };
std::shared_ptr<uint8_t> &allocate_certification_tx_buffer()
std::shared_ptr<uint8_t> get_certification_tx_buffer() { return certification_tx_buffer; };
std::shared_ptr<uint8_t> allocate_certification_tx_buffer()
{
return (certification_tx_buffer =
std::shared_ptr<uint8_t>(new uint8_t[beerocks::message::MESSAGE_BUFFER_LENGTH],
Expand Down

0 comments on commit 0655aa6

Please sign in to comment.