Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of changes in google3 using copybara #13

Merged
merged 1 commit into from Jul 12, 2017
Merged

Conversation

lannadorai
Copy link
Contributor

No description provided.

PiperOrigin-RevId: 160971937
@@ -192,7 +172,7 @@ bool Builder::CheckValid(const Profile &profile) {
for (const auto &sample : profile.sample()) {
if (sample.value_size() != sample_type_len) {
std::cerr << "Found sample with " << sample.value_size()
<< " values, expecting " << sample_type_len;
<< " values, expecting " << sample_type_len;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The leading space before "<<" is weird here.

@@ -228,7 +208,7 @@ bool Builder::Finalize() {
for (auto &sample : *profile_->mutable_sample()) {
// Copy sample locations into a temp vector, and then clear and
// repopulate it with the corresponding location IDs.
const auto addresses = sample.location_id();
const RepeatedField<uint64> addresses = sample.location_id();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am curious what was the reason for replacing "auto" with explicit type here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants