diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-12-17 19:52:27 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-12-17 19:52:27 +0400 |
commit | 59bdc831a224cb4ddc58376be7ef448d8d05d6df (patch) | |
tree | a05c52e25d1dc4d754e78add2c76fa134490c42c /common | |
parent | e53b442dca13c69bb2fbca1cd12f86f1961781b8 (diff) |
Fix another forgotten class init
Diffstat (limited to 'common')
-rw-r--r-- | common/includes/LAVSplitterSettingsInternal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/includes/LAVSplitterSettingsInternal.h b/common/includes/LAVSplitterSettingsInternal.h index b2f12b11..db3227ee 100644 --- a/common/includes/LAVSplitterSettingsInternal.h +++ b/common/includes/LAVSplitterSettingsInternal.h @@ -24,10 +24,10 @@ class FormatInfo { public: - FormatInfo() : strName(nullptr), strDescription(nullptr) {} + FormatInfo() {} FormatInfo(LPCSTR name, LPCSTR desc) : strName(name), strDescription(desc) {} - LPCSTR strName; - LPCSTR strDescription; + LPCSTR strName = nullptr; + LPCSTR strDescription = nullptr; // Comparison operators for sorting (NULL safe) bool FormatInfo::operator < (const FormatInfo& rhs) const { return strName ? (rhs.strName ? _stricmp(strName, rhs.strName) < 0 : false) : true; } |