Commit 55cc27b6 authored by Rodrigo Queiro's avatar Rodrigo Queiro Committed by Rodrigo Queiro

Bazel: make example more portable

parent bc9a4910
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment