Rename some function arguments in MachineBasicBlock.cpp/h by turning the first letter...
[oota-llvm.git] / include / llvm / ProfileData / InstrProf.h
index 5c9a5b693dd7a1ff81f4bd9af44c58ea18849e61..77055ba8726826d678bb70208695f34987a6756e 100644 (file)
@@ -17,6 +17,7 @@
 #define LLVM_PROFILEDATA_INSTRPROF_H_
 
 #include "llvm/ADT/StringRef.h"
+#include <cstdint>
 #include <system_error>
 #include <vector>
 
@@ -46,7 +47,7 @@ inline std::error_code make_error_code(instrprof_error E) {
 /// Profiling information for a single function.
 struct InstrProfRecord {
   InstrProfRecord() {}
-  InstrProfRecord(StringRef Name, uint64_t Hash, std::vector<uint64_t> &Counts)
+  InstrProfRecord(StringRef Name, uint64_t Hash, std::vector<uint64_t> Counts)
       : Name(Name), Hash(Hash), Counts(std::move(Counts)) {}
   StringRef Name;
   uint64_t Hash;