Browse Source

Fixed a compiler error in MSVC in a recent commit when unit tests are enabled

tags/2021-05-28
hogliux 8 years ago
parent
commit
11e45e902a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/containers/juce_HashMap_test.cpp

+ 1
- 1
modules/juce_core/containers/juce_HashMap_test.cpp View File

@@ -51,7 +51,7 @@ struct HashMapTest : public UnitTest
auto value = valueOracle.nextInt();
bool contains = (groundTruth.find (key) != nullptr);
u.expectEquals (contains, hashMap.contains (key));
u.expectEquals ((int) contains, (int) hashMap.contains (key));
groundTruth.add (key, value);
hashMap.set (key, value);


Loading…
Cancel
Save