fix(platform): Fixes to compile with emscripten 3.1.5 (fixes #2707) (#4318)

* fix(platform): Fixes to compile with emscripten 3.1.5 on Ubuntu 22.04 #2707

* enh(Platform): add test check with emscripten on Linux
This commit is contained in:
Matej Kenda
2023-12-07 01:48:14 +01:00
committed by GitHub
parent e868ecb247
commit 35e1490b26
5 changed files with 31 additions and 8 deletions

View File

@@ -34,7 +34,7 @@ class MongoDB_API MessageHeader
/// MongoDB request or response message.
{
public:
static const unsigned int MSG_HEADER_SIZE = 16;
static constexpr Int32 MSG_HEADER_SIZE = 16;
enum OpCode
{