mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-03 00:35:54 +00:00
TINYGL: Fix Compilation with pre-C++-11 Compilers
This commit is contained in:
parent
40a283def9
commit
7beaae25ba
@ -115,7 +115,9 @@ public:
|
||||
_pixels = _buf.getRawBuffer();
|
||||
}
|
||||
|
||||
#ifdef USE_CXX11
|
||||
Line &operator=(const Line &other) = default; // FIXME: This may need replacing with custom copy operator code
|
||||
#endif
|
||||
|
||||
Line(const Line& other) : _buf(other._buf.getFormat(), other._length, DisposeAfterUse::NO), _x(other._x), _y(other._y), _length(other._length) {
|
||||
_buf.copyBuffer(0, 0, _length, other._buf);
|
||||
|
Loading…
x
Reference in New Issue
Block a user