Skip to content

Commit 165d76a

Browse files
committed
utest case: Indicate explicitely that no data member shall be declared in
the Case class.
1 parent 5b27d65 commit 165d76a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

features/frameworks/utest/utest/utest_case.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,10 @@ namespace v1 {
164164
bool is_empty() const;
165165

166166
private:
167-
// see data member in case_t
167+
// IMPORTANT: No data members shall be declared inside this class.
168+
// Data members shall be declared in case_t to preserve the layout
169+
// and the compatibility between the two types.
170+
168171
friend class Harness;
169172
friend class Specification;
170173
};

0 commit comments

Comments
 (0)