-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(unittest): remove dependency with enum buffer_slot in inst_helpers.h
inst_helpers.h has a dependency with enum buffer_slot as this is needed by host_harness and the former includes the latter. This patch breaks that dependency by removing a forward declaration to `enum slot_buffer` inside host_harness.h, as C++ requires a different syntax for forward declarations than the one used in C. Instead, it replaces the enum with an unsigned int for functions in host_harness.h. Signed-off-by: Javier Almansa Sobrino <[email protected]> Change-Id: Ia26f771f5056047e9a61b2e02fb2294928c325d6
- Loading branch information
1 parent
7582b2b
commit f450817
Showing
3 changed files
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters