Skip to content

Commit 4bf28d4

Browse files
committed
Convert case_control to a POD.
1 parent 7a6edda commit 4bf28d4

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

features/frameworks/utest/source/utest_harness.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace
3636

3737
const Case *case_current = NULL;
3838
size_t case_index = 0;
39-
control_t case_control = control_t(REPEAT_SETUP_TEARDOWN);
39+
base_control_t case_control = { REPEAT_SETUP_TEARDOWN, TIMEOUT_UNDECLR };
4040
size_t case_repeat_count = 1;
4141

4242
void *case_timeout_handle = NULL;

features/frameworks/utest/utest/utest_types.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,6 @@ namespace v1 {
207207
return timeout;
208208
}
209209

210-
operator base_control_t() const {
211-
base_control_t result = {
212-
repeat,
213-
timeout
214-
};
215-
return result;
216-
}
217-
218210
private:
219211
static base_control_t make_base_control_t(repeat_t repeat, uint32_t timeout) {
220212
base_control_t result = {

0 commit comments

Comments
 (0)