Skip to content

Commit 6387499

Browse files
authored
Fix(build): Add out-of-class definitions for static members to fix debug build (#1998)
1 parent 0ae5389 commit 6387499

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Common++/src/GeneralUtils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace pcpp
1313
{
14+
constexpr char Base64::paddingChar;
1415

1516
std::string byteArrayToHexString(const uint8_t* byteArr, size_t byteArrSize, int stringSizeLimit)
1617
{

Packet++/src/LdapLayer.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
namespace pcpp
66
{
77

8+
constexpr uint8_t LdapResponseLayer::referralTagType;
9+
constexpr int LdapBindResponseLayer::serverSaslCredentialsTagType;
10+
811
// region LdapOperationType
912

1013
// clang-format off

0 commit comments

Comments
 (0)