Fix namespace correctness bug

llvm-svn: 3798
This commit is contained in:
Chris Lattner 2002-09-17 23:48:02 +00:00
parent 22cbac6511
commit 5d15ed99a3
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ static inline bool input_data(const unsigned char *&Buf,
unsigned Amount = (unsigned char *)End - Start;
if (Buf+Amount > EndBuf) return true;
#ifdef LITTLE_ENDIAN
copy(Buf, Buf+Amount, Start);
std::copy(Buf, Buf+Amount, Start);
Buf += Amount;
#else
unsigned char *E = (unsigned char *)End;