diff options
Diffstat (limited to 'app/perfattributes.cpp')
-rw-r--r-- | app/perfattributes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/perfattributes.cpp b/app/perfattributes.cpp index 3493d6b..d13f9ac 100644 --- a/app/perfattributes.cpp +++ b/app/perfattributes.cpp @@ -25,7 +25,7 @@ PerfEventAttributes::PerfEventAttributes() { - memset(this, 0, sizeof(PerfEventAttributes)); + *this = PerfEventAttributes{}; } QDataStream &operator>>(QDataStream &stream, PerfEventAttributes &attrs) |