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 d13f9ac..3493d6b 100644 --- a/app/perfattributes.cpp +++ b/app/perfattributes.cpp @@ -25,7 +25,7 @@ PerfEventAttributes::PerfEventAttributes() { - *this = PerfEventAttributes{}; + memset(this, 0, sizeof(PerfEventAttributes)); } QDataStream &operator>>(QDataStream &stream, PerfEventAttributes &attrs) |