Remove extra semicolon while GCC being pedantic.

pull/3533/head
Biswapriyo Nath 2020-12-12 11:15:04 +05:30
parent e2af015a57
commit c65f2cb3fb
5 changed files with 7 additions and 7 deletions

View File

@ -53,7 +53,7 @@ const MetaKeyPairVector MakeColladaAssimpMetaKeys() {
result.emplace_back("authoring_tool", AI_METADATA_SOURCE_GENERATOR); result.emplace_back("authoring_tool", AI_METADATA_SOURCE_GENERATOR);
result.emplace_back("copyright", AI_METADATA_SOURCE_COPYRIGHT); result.emplace_back("copyright", AI_METADATA_SOURCE_COPYRIGHT);
return result; return result;
}; }
const MetaKeyPairVector &GetColladaAssimpMetaKeys() { const MetaKeyPairVector &GetColladaAssimpMetaKeys() {
static const MetaKeyPairVector result = MakeColladaAssimpMetaKeys(); static const MetaKeyPairVector result = MakeColladaAssimpMetaKeys();
@ -66,7 +66,7 @@ const MetaKeyPairVector MakeColladaAssimpMetaKeysCamelCase() {
ToCamelCase(val.first); ToCamelCase(val.first);
} }
return result; return result;
}; }
const MetaKeyPairVector &GetColladaAssimpMetaKeysCamelCase() { const MetaKeyPairVector &GetColladaAssimpMetaKeysCamelCase() {
static const MetaKeyPairVector result = MakeColladaAssimpMetaKeysCamelCase(); static const MetaKeyPairVector result = MakeColladaAssimpMetaKeysCamelCase();

View File

@ -175,7 +175,7 @@ namespace o3dgc
m_data[2] = rhs.m_data[2]; m_data[2] = rhs.m_data[2];
} }
template <typename T> template <typename T>
inline Vec3<T>::~Vec3(void){}; inline Vec3<T>::~Vec3(void){}
template <typename T> template <typename T>
inline Vec3<T>::Vec3() {} inline Vec3<T>::Vec3() {}
@ -308,7 +308,7 @@ namespace o3dgc
m_data[1] = rhs.m_data[1]; m_data[1] = rhs.m_data[1];
} }
template <typename T> template <typename T>
inline Vec2<T>::~Vec2(void){}; inline Vec2<T>::~Vec2(void){}
template <typename T> template <typename T>
inline Vec2<T>::Vec2() {} inline Vec2<T>::Vec2() {}

View File

@ -763,7 +763,7 @@ void cleanup()
if (g_hWnd) if (g_hWnd)
KillGLWindow(); KillGLWindow();
}; }
LRESULT CALLBACK WndProc(HWND hWnd, // Handles for this Window LRESULT CALLBACK WndProc(HWND hWnd, // Handles for this Window
UINT uMsg, // Message for this Window UINT uMsg, // Message for this Window

View File

@ -161,4 +161,4 @@ int CMeshRenderer::DrawSorted(unsigned int iIndex,const aiMatrix4x4& mWorld) {
return 1; return 1;
} }
}; }

View File

@ -2143,7 +2143,7 @@ INT_PTR CALLBACK AboutMessageProc(HWND hwndDlg,UINT uMsg,
} }
return FALSE; return FALSE;
} }
}; }
using namespace AssimpView; using namespace AssimpView;