Respect base virtual functions' signatures

This commit is contained in:
Giuseppe Bilotta 2011-08-08 16:15:53 +02:00
parent 163c38e175
commit 34492ce480
2 changed files with 3 additions and 3 deletions

View File

@ -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++)
{

View File

@ -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;