Skip to content

Commit

Permalink
fix: msan build (#4646)
Browse files Browse the repository at this point in the history
Co-authored-by: ludamad <adam@aztecprotocol.com>
  • Loading branch information
ludamad and ludamad0 authored Feb 19, 2024
1 parent c04d72f commit 886cc75
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace bb::crypto::merkle_tree {

typedef uint256_t index_t;
using index_t = uint256_t;

/**
* @brief Used in parallel insertions in the the IndexedTree. Workers signal to other following workes as they move up
Expand All @@ -18,11 +18,13 @@ class LevelSignal {
public:
LevelSignal(size_t initial_level)
: signal_(initial_level){};
~LevelSignal(){};
~LevelSignal() = default;
LevelSignal(const LevelSignal& other)
: signal_(other.signal_.load())
{}
LevelSignal(const LevelSignal&& other) = delete;
LevelSignal(const LevelSignal&& other) noexcept
: signal_(other.signal_.load())
{}

/**
* @brief Causes the thread to wait until the required level has been signalled
Expand Down

0 comments on commit 886cc75

Please sign in to comment.