mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-09 16:45:03 +00:00
Use unsigned char& instead of std::vector<>::reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33896 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8227d886b8
commit
05c0b9ad79
@ -139,12 +139,10 @@ namespace llvm {
|
||||
assert(0 && "Emission of 64-bit data not implemented yet!");
|
||||
}
|
||||
|
||||
std::vector<unsigned char>::reference
|
||||
operator [] (unsigned Index) {
|
||||
unsigned char &operator[](unsigned Index) {
|
||||
return Output[Index];
|
||||
}
|
||||
std::vector<unsigned char>::const_reference
|
||||
operator [] (unsigned Index) const {
|
||||
const unsigned char &operator[](unsigned Index) const {
|
||||
return Output[Index];
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user