aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-05-08 09:15:34 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-05-08 07:36:07 +0000
commit82e7af13a45575b42f5cf4dda1e16c35dfee972b (patch)
treede9aec3a0c8e770012a2a0267ff7817478f466f2
parent512704a52858688366a99d8959bf75ee35099e19 (diff)
Fix size_t -> int conversion warning on MSVC (64 bit)
Change-Id: Ic315f8048cf79598c5dcabf7e5a663e07abcca1f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r--src/lib/corelib/tools/set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/tools/set.h b/src/lib/corelib/tools/set.h
index 3f4f1c359..1fd180b21 100644
--- a/src/lib/corelib/tools/set.h
+++ b/src/lib/corelib/tools/set.h
@@ -121,7 +121,7 @@ public:
bool isEmpty() const { return m_data.empty(); }
int count() const { return int(m_data.size()); }
int size() const { return count(); }
- int capacity() const { return m_data.capacity(); }
+ int capacity() const { return int(m_data.capacity()); }
bool intersects(const Set<T> &other) const;
bool remove(const T &v);