Avoid copy-prone idiom "for (auto item : collection)"
[WebKit-https.git] / Source / JavaScriptCore / heap / CodeBlockSet.h
index 104ffc4..7f50d5a 100644 (file)
@@ -80,7 +80,7 @@ public:
     // visited.
     template<typename Functor> void iterate(Functor& functor)
     {
-        for (auto &codeBlock : m_set) {
+        for (autocodeBlock : m_set) {
             bool done = functor(codeBlock);
             if (done)
                 break;