Skip to content

Commit e2f7b8f

Browse files
author
kevyuu
committed
Remove virtual on IShader::valid and IShader::visitDependents_impl
1 parent 6080475 commit e2f7b8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/nbl/asset/IShader.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class IShader : public IAsset
8787

8888
// TODO: `void setContent(core::smart_refctd_ptr<const ICPUBuffer>&&,const E_CONTENT_TYPE)`
8989

90-
inline virtual bool valid() const override
90+
inline bool valid() const override
9191
{
9292
if (!m_code) return false;
9393
if (m_contentType == E_CONTENT_TYPE::ECT_UNKNOWN) return false;
@@ -106,7 +106,7 @@ class IShader : public IAsset
106106

107107
private:
108108

109-
inline virtual void visitDependents_impl(std::function<bool(const IAsset*)> visit) const override
109+
inline void visitDependents_impl(std::function<bool(const IAsset*)> visit) const override
110110
{
111111
if (!visit(m_code.get())) return;
112112
}

0 commit comments

Comments
 (0)