summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/VertexLoaderManager.cpp
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2013-04-25 01:41:45 +1200
committerMatthew Parlane <parlane@gmail.com>2013-04-25 01:41:45 +1200
commitc3dbbe011d4d9e06d6b4badc6e42e830b35fabd2 (patch)
treebb57013c56f8e4336d3a81cb28608f663f678fe8 /Source/Core/VideoCommon/Src/VertexLoaderManager.cpp
parente98069b647029417abf6b26d7bd30e0c3ea77863 (diff)
parent62ebfa0a78f2cbb8d40d2ae974ee9d404ddf6721 (diff)
Merge branch 'master' into wii-network
Diffstat (limited to 'Source/Core/VideoCommon/Src/VertexLoaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/VertexLoaderManager.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexLoaderManager.cpp b/Source/Core/VideoCommon/Src/VertexLoaderManager.cpp
index 51684e20cc..856b5d9fa5 100644
--- a/Source/Core/VideoCommon/Src/VertexLoaderManager.cpp
+++ b/Source/Core/VideoCommon/Src/VertexLoaderManager.cpp
@@ -57,11 +57,14 @@ void Shutdown()
g_VertexLoaderMap.clear();
}
-namespace {
-struct entry {
+namespace
+{
+struct entry
+{
std::string text;
u64 num_verts;
- bool operator < (const entry &other) const {
+ bool operator < (const entry &other) const
+ {
return num_verts > other.num_verts;
}
};
@@ -82,7 +85,8 @@ void AppendListToString(std::string *dest)
}
sort(entries.begin(), entries.end());
dest->reserve(dest->size() + total_size);
- for (std::vector<entry>::const_iterator iter = entries.begin(); iter != entries.end(); ++iter) {
+ for (std::vector<entry>::const_iterator iter = entries.begin(); iter != entries.end(); ++iter)
+ {
dest->append(iter->text);
}
}