[llvm-commits] CVS: llvm/include/llvm/Bytecode/Primitives.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Sep 17 18:49:00 PDT 2002
Changes in directory llvm/include/llvm/Bytecode:
Primitives.h updated: 1.6 -> 1.7
---
Log message:
Fix namespace correctness bug
---
Diffs of the changes:
Index: llvm/include/llvm/Bytecode/Primitives.h
diff -u llvm/include/llvm/Bytecode/Primitives.h:1.6 llvm/include/llvm/Bytecode/Primitives.h:1.7
--- llvm/include/llvm/Bytecode/Primitives.h:1.6 Sun Jan 20 16:54:25 2002
+++ llvm/include/llvm/Bytecode/Primitives.h Tue Sep 17 18:48:02 2002
@@ -137,7 +137,7 @@
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;
More information about the llvm-commits
mailing list