Pass large types by const&, small types by value

This commit is contained in:
Daniel Pfeifer
2017-06-02 21:01:01 +02:00
parent 3216c2178c
commit b1ec5deaf1
37 changed files with 82 additions and 80 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ private:
static const char* PersistentProperties[];
bool ReadPropertyEntry(std::string const& key, CacheEntry& e);
void WritePropertyEntries(std::ostream& os, CacheIterator const& i);
void WritePropertyEntries(std::ostream& os, CacheIterator i);
CacheEntryMap Cache;
// Only cmake and cmState should be able to add cache values