Skip to content

Commit

Permalink
Revert "update write_buffer_vector()"
Browse files Browse the repository at this point in the history
This reverts commit 3ab5bca.
  • Loading branch information
salix5 committed Apr 24, 2024
1 parent 02254c8 commit 6591f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion duel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "group.h"
#include "ocgapi.h"

inline void write_buffer_vector(std::vector<byte>& buffer, const void*& data, int size) {
inline void write_buffer_vector(std::vector<byte>& buffer, const void* data, int size) {
if (size > 0) {
const auto len = buffer.size();
buffer.resize(len + size);
Expand Down

0 comments on commit 6591f36

Please sign in to comment.