mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Respect base virtual functions' signatures
This commit is contained in:
parent
163c38e175
commit
34492ce480
2 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue