Bazel: make example more portable
This commit is contained in:
parent
bc9a491033
commit
55cc27b6ec
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user