Fixed MSVC 10 compiler warnings
This commit is contained in:
parent
b06c078969
commit
f762b55aa0
|
@ -660,7 +660,7 @@ private:
|
||||||
|
|
||||||
void hasSubClassConstructor() {
|
void hasSubClassConstructor() {
|
||||||
GET_SYMBOL_DB("class Foo { class Sub; }; class Foo::Sub { Sub() {} };");
|
GET_SYMBOL_DB("class Foo { class Sub; }; class Foo::Sub { Sub() {} };");
|
||||||
ASSERT(db);
|
ASSERT(db != 0);
|
||||||
|
|
||||||
if (db) {
|
if (db) {
|
||||||
bool seen_something = false;
|
bool seen_something = false;
|
||||||
|
|
|
@ -35,7 +35,7 @@ private:
|
||||||
|
|
||||||
void result() const {
|
void result() const {
|
||||||
TimerResultsData t1;
|
TimerResultsData t1;
|
||||||
t1._clocks = ~0ULL;
|
t1._clocks = ~(std::clock_t)0;
|
||||||
ASSERT(t1.seconds() > 100.0);
|
ASSERT(t1.seconds() > 100.0);
|
||||||
|
|
||||||
t1._clocks = CLOCKS_PER_SEC * 5 / 2;
|
t1._clocks = CLOCKS_PER_SEC * 5 / 2;
|
||||||
|
|
Loading…
Reference in New Issue