kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject [4/4] incubator-kudu git commit: Fix build failure with a BOOST_FOREACH that snuck in
Date Sat, 16 Jan 2016 01:33:17 GMT
Fix build failure with a BOOST_FOREACH that snuck in

Committing patches out of order caused a new BOOST_FOREACH to sneak in after
the include was removed from a file. This converts it to C++11 foreach.

Change-Id: Ie6f4c652764833b155d958bf2ae2f75ef044a643
Reviewed-on: http://gerrit.cloudera.org:8080/1807
Reviewed-by: Todd Lipcon <todd@apache.org>
Tested-by: Todd Lipcon <todd@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu/commit/70449655
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu/tree/70449655
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu/diff/70449655

Branch: refs/heads/master
Commit: 704496559510972960e39c9e65e1091073d46d50
Parents: 994fa40
Author: Todd Lipcon <todd@apache.org>
Authored: Fri Jan 15 17:30:14 2016 -0800
Committer: Todd Lipcon <todd@apache.org>
Committed: Sat Jan 16 01:32:44 2016 +0000

----------------------------------------------------------------------
 src/kudu/master/catalog_manager-test.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/70449655/src/kudu/master/catalog_manager-test.cc
----------------------------------------------------------------------
diff --git a/src/kudu/master/catalog_manager-test.cc b/src/kudu/master/catalog_manager-test.cc
index 2dee461..b3dd302 100644
--- a/src/kudu/master/catalog_manager-test.cc
+++ b/src/kudu/master/catalog_manager-test.cc
@@ -77,7 +77,7 @@ TEST(TableInfoTest, TestAssignmentRanges) {
     LOG(INFO) << "Key " << start_key << " found in tablet " << tablet_id;
   }
 
-  BOOST_FOREACH(const scoped_refptr<TabletInfo>& tablet, tablets) {
+  for (const scoped_refptr<TabletInfo>& tablet : tablets) {
     ASSERT_TRUE(table->RemoveTablet(
         tablet->metadata().state().pb.partition().partition_key_start()));
   }


Mime
View raw message