Bazel: make example more portable

This commit is contained in:
Rodrigo Queiro 2018-02-01 09:36:50 +01:00 committed by Rodrigo Queiro
parent bc9a491033
commit 55cc27b6ec

View File

@ -12,7 +12,10 @@ int main(int argc, char* argv[]) {
LOG(INFO) << "Hello, world!";
// glog/stl_logging.h allows logging STL containers.
std::vector<int> x {1, 2, 3};
std::vector<int> x;
x.push_back(1);
x.push_back(2);
x.push_back(3);
LOG(INFO) << "ABC, it's easy as " << x;
return 0;