Merge branch 'MSVC-compiler-warnings'

* MSVC-compiler-warnings:
  Fix some MSVC compiler warnings in the test suite
This commit is contained in:
William S Fulton 2019-03-11 19:06:16 +00:00
commit b1f68b893b
3 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ struct OuterTemplate<1>
struct ConcreteDerived : AbstractBase
{
ConcreteDerived() : m_value(0.) {}
ConcreteDerived() : m_value(0) {}
explicit ConcreteDerived(int value) : m_value(value) {}
virtual bool IsSameAs(const AbstractBase& other) const {

View file

@ -28,7 +28,7 @@
++count;
return count;
}
int func4(const char *buf4)
size_t func4(const char *buf4)
{
return strlen(buf4);
}