From 79b1b57045e86d9845e352c3f2aa0efbab6111a9 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周六, 14 3月 2020 10:19:09 +0800 Subject: [PATCH] tests and improvements --- src/library/hw_identifier/hw_identifier_facade.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/library/hw_identifier/hw_identifier_facade.cpp b/src/library/hw_identifier/hw_identifier_facade.cpp index 755eb75..c7a2ec6 100644 --- a/src/library/hw_identifier/hw_identifier_facade.cpp +++ b/src/library/hw_identifier/hw_identifier_facade.cpp @@ -55,7 +55,7 @@ HwIdentifier pc_id; FUNCTION_RETURN result = strategy_ptr->identify_pc(pc_id); if (result != FUNC_RET_OK) { - /// FIXME + throw logic_error("strategy " + to_string(strategy_ptr->identification_strategy()) + " failed"); } os::ExecutionEnvironment exec; os::VIRTUALIZATION virtualization = exec.getVirtualization(); -- Gitblit v1.9.1