mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +01:00
Respect base virtual functions' signatures
This commit is contained in:
parent
163c38e175
commit
34492ce480
@ -85,7 +85,7 @@ public:
|
||||
|
||||
return c;
|
||||
}
|
||||
int xsputn(const char *s, int n)
|
||||
std::streamsize xsputn(const char *s, std::streamsize n)
|
||||
{
|
||||
for(int i=0; i<DEBUGSTREAM_COUNT; i++)
|
||||
{
|
||||
|
@ -62,7 +62,7 @@ public:
|
||||
return m_position;
|
||||
}
|
||||
|
||||
virtual void setPosition(v3f position)
|
||||
virtual void setPosition(const v3f &position)
|
||||
{
|
||||
m_position = position;
|
||||
}
|
||||
@ -206,7 +206,7 @@ public:
|
||||
return m_box;
|
||||
}
|
||||
|
||||
void setPosition(v3f position)
|
||||
void setPosition(const v3f &position)
|
||||
{
|
||||
m_oldpos = m_showpos;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user