Andrew Wong has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/11971 )
Change subject: build: don't instantiate const objects with no user-defined constructor ...................................................................... build: don't instantiate const objects with no user-defined constructor It seems that some compilers disallow instantiating const objects that don't provide a user-provided constructor. This would surface as the following error. error: default initialization of an object of const type 'const ClusterInfo' requires a user-provided default constructor Change-Id: Ia21baed51e035d9005453fd7d08274c9c23e74d7 Reviewed-on: http://gerrit.cloudera.org:8080/11971 Tested-by: Kudu Jenkins Reviewed-by: Alexey Serbin <[email protected]> --- M src/kudu/tools/rebalance_algo-test.cc 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Kudu Jenkins: Verified Alexey Serbin: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/11971 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ia21baed51e035d9005453fd7d08274c9c23e74d7 Gerrit-Change-Number: 11971 Gerrit-PatchSet: 4 Gerrit-Owner: Andrew Wong <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120)
