forked from bartvdbraak/blender
Cleanup: compiler warnings
If one method is marked as override, clang warns if others are not.
This commit is contained in:
parent
76ab0381d1
commit
dde3ecc1a8
@ -68,7 +68,8 @@ class RenderLayersProg : public NodeOperation {
|
||||
/**
|
||||
* 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.
|
||||
@ -118,9 +119,9 @@ class RenderLayersProg : public NodeOperation {
|
||||
{
|
||||
return this->m_viewName;
|
||||
}
|
||||
void initExecution();
|
||||
void deinitExecution();
|
||||
void executePixelSampled(float output[4], float x, float y, PixelSampler sampler);
|
||||
void initExecution() override;
|
||||
void deinitExecution() override;
|
||||
void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override;
|
||||
|
||||
std::unique_ptr<MetaData> getMetaData() const override;
|
||||
};
|
||||
|
@ -24,11 +24,11 @@ class SocketProxyOperation : public NodeOperation {
|
||||
public:
|
||||
SocketProxyOperation(DataType type, bool use_conversion);
|
||||
|
||||
bool isProxyOperation() const
|
||||
bool isProxyOperation() const override
|
||||
{
|
||||
return true;
|
||||
}
|
||||
bool useDatatypeConversion() const
|
||||
bool useDatatypeConversion() const override
|
||||
{
|
||||
return m_use_conversion;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user