utest case: Indicate explicitely that no data member shall be declared in

the Case class.
pull/4430/head
Vincent Coubard 2017-06-02 16:52:00 +01:00
parent 5b27d65755
commit 165d76ae25
1 changed files with 4 additions and 1 deletions

View File

@ -164,7 +164,10 @@ namespace v1 {
bool is_empty() const;
private:
// see data member in case_t
// IMPORTANT: No data members shall be declared inside this class.
// Data members shall be declared in case_t to preserve the layout
// and the compatibility between the two types.
friend class Harness;
friend class Specification;
};