mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-01-01 03:12:23 +08:00
Fix some MSVC warnings
This commit is contained in:
parent
4ee9ba9c96
commit
251790f144
@ -49,6 +49,8 @@ namespace chaiscript {
|
||||
{
|
||||
}
|
||||
|
||||
Data &operator=(const Data &) = delete;
|
||||
|
||||
virtual ~Data() {}
|
||||
virtual void *data() = 0;
|
||||
const std::type_info &type() const
|
||||
|
||||
@ -1127,7 +1127,7 @@ namespace chaiscript
|
||||
}
|
||||
retval = true;
|
||||
m_input_pos = tmp;
|
||||
m_col += len;
|
||||
m_col += static_cast<int>(len);
|
||||
}
|
||||
|
||||
return retval;
|
||||
@ -1175,7 +1175,7 @@ namespace chaiscript
|
||||
}
|
||||
retval = true;
|
||||
m_input_pos = tmp;
|
||||
m_col += len;
|
||||
m_col += static_cast<int>(len);
|
||||
}
|
||||
|
||||
return retval;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user