Skip to content

Commit

Permalink
wasm build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anatolse committed Aug 20, 2024
1 parent ecfcfb8 commit 73e79fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wallet/core/wallet_db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,12 +363,12 @@ namespace beam::wallet
{
}

static const uint32_t s_Factor = 16;
static const uint64_t s_NoOverflowSrc = uint64_t(-1) / s_Factor;
static constexpr uint32_t s_Factor = 16;
static constexpr uint64_t s_NoOverflowSrc = uint64_t(-1) / s_Factor;

struct Partial
{
static const Amount s_Inf = Amount(-1);
static constexpr Amount s_Inf = Amount(-1);

struct Link {
size_t m_iNext; // 1-based, to distinguish "NULL" pointers
Expand Down

0 comments on commit 73e79fd

Please sign in to comment.