diff options
Diffstat (limited to 'cmdline/unit.h')
| -rw-r--r-- | cmdline/unit.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmdline/unit.h b/cmdline/unit.h index ad6a03d12f..f73981fbd3 100644 --- a/cmdline/unit.h +++ b/cmdline/unit.h @@ -21,8 +21,9 @@ namespace art { // Used for arguments that simply indicate presence (e.g. "-help") without any values. struct Unit { - // Avoid 'Conditional jump or move depends on uninitialised value(s)' errors - // when running valgrind by specifying a user-defined constructor. + // Historical note: We specified a user-defined constructor to avoid + // 'Conditional jump or move depends on uninitialised value(s)' errors + // when running Valgrind. Unit() {} Unit(const Unit&) = default; ~Unit() {} |