Skip to content

Commit 3521f47

Browse files
committed
Lint fixes
1 parent 7c375c0 commit 3521f47

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/mutator.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <memory>
2121
#include <random>
2222
#include <string>
23+
#include <utility>
2324
#include <vector>
2425

2526
#include "src/field_instance.h"
@@ -429,7 +430,7 @@ class PostProcessing {
429430
std::unordered_multimap<const Descriptor*, Mutator::PostProcess>;
430431

431432
PostProcessing(bool keep_initialized, const PostProcessors& post_processors,
432-
UnpackedAny& any, RandomEngine* random)
433+
const UnpackedAny& any, RandomEngine* random)
433434
: keep_initialized_(keep_initialized),
434435
post_processors_(post_processors),
435436
any_(any),
@@ -498,7 +499,7 @@ class PostProcessing {
498499
private:
499500
bool keep_initialized_;
500501
const PostProcessors& post_processors_;
501-
UnpackedAny& any_;
502+
const UnpackedAny& any_;
502503
RandomEngine* random_;
503504
};
504505

0 commit comments

Comments
 (0)