mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Use unsigned char& instead of std::vector<>::reference.
llvm-svn: 33896
This commit is contained in:
parent
6af279f20d
commit
bc1c8e70ac
@ -139,12 +139,10 @@ namespace llvm {
|
|||||||
assert(0 && "Emission of 64-bit data not implemented yet!");
|
assert(0 && "Emission of 64-bit data not implemented yet!");
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<unsigned char>::reference
|
unsigned char &operator[](unsigned Index) {
|
||||||
operator [] (unsigned Index) {
|
|
||||||
return Output[Index];
|
return Output[Index];
|
||||||
}
|
}
|
||||||
std::vector<unsigned char>::const_reference
|
const unsigned char &operator[](unsigned Index) const {
|
||||||
operator [] (unsigned Index) const {
|
|
||||||
return Output[Index];
|
return Output[Index];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user