Skip to content

Commit

Permalink
Remove extra semicolon while GCC being pedantic.
Browse files Browse the repository at this point in the history
  • Loading branch information
Biswa96 committed Dec 12, 2020
1 parent e2af015 commit c65f2cb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions code/AssetLib/Collada/ColladaHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const MetaKeyPairVector MakeColladaAssimpMetaKeys() {
result.emplace_back("authoring_tool", AI_METADATA_SOURCE_GENERATOR);
result.emplace_back("copyright", AI_METADATA_SOURCE_COPYRIGHT);
return result;
};
}

const MetaKeyPairVector &GetColladaAssimpMetaKeys() {
static const MetaKeyPairVector result = MakeColladaAssimpMetaKeys();
Expand All @@ -66,7 +66,7 @@ const MetaKeyPairVector MakeColladaAssimpMetaKeysCamelCase() {
ToCamelCase(val.first);
}
return result;
};
}

const MetaKeyPairVector &GetColladaAssimpMetaKeysCamelCase() {
static const MetaKeyPairVector result = MakeColladaAssimpMetaKeysCamelCase();
Expand Down
4 changes: 2 additions & 2 deletions contrib/Open3DGC/o3dgcVector.inl
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ namespace o3dgc
m_data[2] = rhs.m_data[2];
}
template <typename T>
inline Vec3<T>::~Vec3(void){};
inline Vec3<T>::~Vec3(void){}

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

template <typename T>
inline Vec2<T>::Vec2() {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ void cleanup()

if (g_hWnd)
KillGLWindow();
};
}

LRESULT CALLBACK WndProc(HWND hWnd, // Handles for this Window
UINT uMsg, // Message for this Window
Expand Down
2 changes: 1 addition & 1 deletion tools/assimp_view/MeshRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,4 @@ int CMeshRenderer::DrawSorted(unsigned int iIndex,const aiMatrix4x4& mWorld) {

return 1;
}
};
}
2 changes: 1 addition & 1 deletion tools/assimp_view/MessageProc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2143,7 +2143,7 @@ INT_PTR CALLBACK AboutMessageProc(HWND hwndDlg,UINT uMsg,
}
return FALSE;
}
};
}

using namespace AssimpView;

Expand Down

0 comments on commit c65f2cb

Please sign in to comment.