mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 17:33:05 +00:00
SHERLOCK: Silence very noisy GCC warning
Since 'w' and 'h' are members of ManagedSurface, using them as input parameters to a method caused GCC to warn about them being shadowed. For just about every file in the Sherlock engine...
This commit is contained in:
parent
e317b87753
commit
e963f8bc60
@ -121,7 +121,7 @@ protected:
|
||||
virtual void addDirtyRect(const Common::Rect &r) {}
|
||||
public:
|
||||
Surface() : BaseSurface() {}
|
||||
Surface(int w, int h) : BaseSurface(w, h) {}
|
||||
Surface(int width, int height) : BaseSurface(width, height) {}
|
||||
};
|
||||
|
||||
} // End of namespace Sherlock
|
||||
|
Loading…
x
Reference in New Issue
Block a user