Skip to content

Commit

Permalink
Fix ExplicitBlobParamTest to use correct allocator for vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
mikir committed Feb 21, 2024
1 parent cc17828 commit dab9299
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "gtest/gtest.h"
#include "zserio/RebindAlloc.h"
#include "zserio/StringConvertUtil.h"
#include "zserio/Vector.h"

namespace explicit_parameters
{
Expand All @@ -15,7 +16,7 @@ namespace explicit_blob_param
using allocator_type = ExplicitParametersDb::allocator_type;
using string_type = zserio::string<allocator_type>;
template <typename T>
using vector_type = std::vector<T, allocator_type>;
using vector_type = zserio::vector<T, allocator_type>;

class ExplicitBlobParamTest : public ::testing::Test
{
Expand Down

0 comments on commit dab9299

Please sign in to comment.