File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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);
You can’t perform that action at this time.
0 commit comments