Skip to content

Commit c61db0e

Browse files
msiebenMFransen69
andauthored
[core/Errors] : remove superfluous semi-colons (#2036)
Co-authored-by: MFransen69 <[email protected]>
1 parent 5f7293a commit c61db0e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Source/core/Errors.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,26 +113,26 @@ namespace Core {
113113
inline const TCHAR* _Err2Str()
114114
{
115115
return _T("");
116-
};
116+
}
117117

118118
#define ERROR_CODE(CODE, VALUE) \
119119
template<> inline const TCHAR* _Err2Str<VALUE>() { return _T(#CODE); }
120120

121-
ERROR_CODES;
121+
ERROR_CODES
122122

123123
#undef ERROR_CODE
124124

125125
template<uint32_t N = (ERROR_COUNT - 1)>
126126
inline const TCHAR* _bogus_ErrorToString(uint32_t code)
127127
{
128128
return (code == N? _Err2Str<N>() : _bogus_ErrorToString<N-1>(code));
129-
};
129+
}
130130

131131
template<>
132132
inline const TCHAR* _bogus_ErrorToString<0u>(uint32_t code)
133133
{
134134
return (code == 0? _Err2Str<0u>() : _Err2Str<~0u>());
135-
};
135+
}
136136

137137
EXTERNAL const TCHAR* ErrorToString(const Core::hresult code);
138138
EXTERNAL string ErrorToStringExtended(const Core::hresult code);

0 commit comments

Comments
 (0)