Skip to content

Commit

Permalink
fix: include <string> in binary_buffer.h for fix macos builds (#852)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 authored Jan 26, 2025
1 parent add7f3b commit 6cd35e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/util/binary_buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <stdexcept>
#include <stdint.h>
#include <utility>
#include <string.h>
#include <string.h> // memcpy
#include <string> // std::string
#include "algo/varint.h"

struct BinaryBuffer : public std::vector<char>
Expand Down

0 comments on commit 6cd35e3

Please # to comment.