1*fd525a9cSAndroid Build Coastguard Worker // Copyright 2017 Google Inc. All rights reserved. 2*fd525a9cSAndroid Build Coastguard Worker // 3*fd525a9cSAndroid Build Coastguard Worker // Licensed under the Apache License, Version 2.0 (the "License"); 4*fd525a9cSAndroid Build Coastguard Worker // you may not use this file except in compliance with the License. 5*fd525a9cSAndroid Build Coastguard Worker // You may obtain a copy of the License at 6*fd525a9cSAndroid Build Coastguard Worker // 7*fd525a9cSAndroid Build Coastguard Worker // http://www.apache.org/licenses/LICENSE-2.0 8*fd525a9cSAndroid Build Coastguard Worker // 9*fd525a9cSAndroid Build Coastguard Worker // Unless required by applicable law or agreed to in writing, software 10*fd525a9cSAndroid Build Coastguard Worker // distributed under the License is distributed on an "AS IS" BASIS, 11*fd525a9cSAndroid Build Coastguard Worker // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*fd525a9cSAndroid Build Coastguard Worker // See the License for the specific language governing permissions and 13*fd525a9cSAndroid Build Coastguard Worker // limitations under the License. 14*fd525a9cSAndroid Build Coastguard Worker 15*fd525a9cSAndroid Build Coastguard Worker #ifndef SRC_RANDOM_H_ 16*fd525a9cSAndroid Build Coastguard Worker #define SRC_RANDOM_H_ 17*fd525a9cSAndroid Build Coastguard Worker 18*fd525a9cSAndroid Build Coastguard Worker #include <random> 19*fd525a9cSAndroid Build Coastguard Worker 20*fd525a9cSAndroid Build Coastguard Worker namespace protobuf_mutator { 21*fd525a9cSAndroid Build Coastguard Worker 22*fd525a9cSAndroid Build Coastguard Worker using RandomEngine = std::minstd_rand; 23*fd525a9cSAndroid Build Coastguard Worker 24*fd525a9cSAndroid Build Coastguard Worker } // namespace protobuf_mutator 25*fd525a9cSAndroid Build Coastguard Worker 26*fd525a9cSAndroid Build Coastguard Worker #endif // SRC_RANDOM_H_ 27