Repository: mesos
Updated Branches:
  refs/heads/master f09c7327c -> 1c97c0395


Removed occurance of ranged-based for loop in the source.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1c97c039
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1c97c039
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1c97c039

Branch: refs/heads/master
Commit: 1c97c0395fe3b46b62069b647dc57b45ac417a29
Parents: f09c732
Author: Benjamin Mahler <[email protected]>
Authored: Tue Aug 4 17:13:35 2015 -0700
Committer: Benjamin Mahler <[email protected]>
Committed: Tue Aug 4 17:13:35 2015 -0700

----------------------------------------------------------------------
 src/tests/resources_tests.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/1c97c039/src/tests/resources_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/resources_tests.cpp b/src/tests/resources_tests.cpp
index 30c10f3..2ae93a9 100644
--- a/src/tests/resources_tests.cpp
+++ b/src/tests/resources_tests.cpp
@@ -1001,8 +1001,8 @@ TEST(ReservedResourcesTest, Equals)
   };
 
   // Test that all resources in 'unique' are considered different.
-  for (const Resources& left : unique) {
-    for (const Resources& right : unique) {
+  foreach (const Resources& left, unique) {
+    foreach (const Resources& right, unique) {
       if (&left == &right) {
         continue;
       }

Reply via email to