Skip to content

Commit

Permalink
Fix compile errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsracz committed Nov 22, 2020
1 parent 2bcdef3 commit 3f837c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/openlcb/AliasAllocator.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ void AliasAllocator::ConflictHandler::send(Buffer<CanMessageData> *message,
message->unref();
}

#ifdef GTEST

void AliasAllocator::TEST_finish_pending_allocation() {
if (is_state(STATE(wait_done))) {
timer_.trigger();
Expand All @@ -324,4 +326,6 @@ void AliasAllocator::TEST_add_allocated_alias(NodeAlias alias)
add_allocated_alias(alias);
}

#endif

} // namespace openlcb

0 comments on commit 3f837c1

Please sign in to comment.