Cleanup: compiler warnings
If one method is marked as override, clang warns if others are not.
This commit is contained in:
@@ -68,7 +68,8 @@ class RenderLayersProg : public NodeOperation {
|
|||||||
/**
|
/**
|
||||||
* Determine the output resolution. The resolution is retrieved from the Renderer
|
* Determine the output resolution. The resolution is retrieved from the Renderer
|
||||||
*/
|
*/
|
||||||
void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]);
|
void determineResolution(unsigned int resolution[2],
|
||||||
|
unsigned int preferredResolution[2]) override;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* retrieve the reference to the float buffer of the renderer.
|
* retrieve the reference to the float buffer of the renderer.
|
||||||
@@ -118,9 +119,9 @@ class RenderLayersProg : public NodeOperation {
|
|||||||
{
|
{
|
||||||
return this->m_viewName;
|
return this->m_viewName;
|
||||||
}
|
}
|
||||||
void initExecution();
|
void initExecution() override;
|
||||||
void deinitExecution();
|
void deinitExecution() override;
|
||||||
void executePixelSampled(float output[4], float x, float y, PixelSampler sampler);
|
void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override;
|
||||||
|
|
||||||
std::unique_ptr<MetaData> getMetaData() const override;
|
std::unique_ptr<MetaData> getMetaData() const override;
|
||||||
};
|
};
|
||||||
|
@@ -24,11 +24,11 @@ class SocketProxyOperation : public NodeOperation {
|
|||||||
public:
|
public:
|
||||||
SocketProxyOperation(DataType type, bool use_conversion);
|
SocketProxyOperation(DataType type, bool use_conversion);
|
||||||
|
|
||||||
bool isProxyOperation() const
|
bool isProxyOperation() const override
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
bool useDatatypeConversion() const
|
bool useDatatypeConversion() const override
|
||||||
{
|
{
|
||||||
return m_use_conversion;
|
return m_use_conversion;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user