removed warning "size_t to int conversion possible loss of data"

This commit is contained in:
Gabriel Schlozer 2016-06-07 17:54:25 +02:00
parent 94295a0a7d
commit 4247f7889a

View file

@ -253,7 +253,7 @@ namespace {
class ThrowingObject
{
public:
float operator[](int) const
float operator[](size_t) const
{
throw "Test throw";
}
@ -262,7 +262,7 @@ namespace {
class StdThrowingObject
{
public:
float operator[](int) const
float operator[](size_t) const
{
throw std::runtime_error("Test throw");
}
@ -451,7 +451,7 @@ namespace {
class ThrowingObject2D
{
public:
float* operator[](int) const
float* operator[](size_t) const
{
throw "Test throw";
}
@ -460,7 +460,7 @@ namespace {
class StdThrowingObject2D
{
public:
float* operator[](int) const
float* operator[](size_t) const
{
throw std::runtime_error("Test throw");
}