We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a8b689 commit 4e49da5Copy full SHA for 4e49da5
src/bsoncxx/array/value.hpp
@@ -34,7 +34,7 @@ namespace array {
34
class BSONCXX_API value {
35
public:
36
using deleter_type = void (*)(std::uint8_t*);
37
- using unique_ptr_type = std::unique_ptr<uint8_t, deleter_type>;
+ using unique_ptr_type = std::unique_ptr<uint8_t[], deleter_type>;
38
39
///
40
/// Constructs a value from a buffer.
src/bsoncxx/document/value.hpp
@@ -33,7 +33,7 @@ namespace document {
33
0 commit comments