summaryrefslogtreecommitdiff
path: root/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-06 22:13:01 +0000
committerChris Lattner <sabre@nondot.org>2003-06-06 22:13:01 +0000
commit903c2d11e2dfadaaa7c04c2e46bac62d82e7ed15 (patch)
treec11485ce049d5afd94bf9ca9a3d6a447e719bb8f /lib/Support/Timer.cpp
parentb8c8829a4a98060b6cd32112bdeee75daac4d35e (diff)
downloadllvm-903c2d11e2dfadaaa7c04c2e46bac62d82e7ed15.tar.gz
llvm-903c2d11e2dfadaaa7c04c2e46bac62d82e7ed15.tar.bz2
llvm-903c2d11e2dfadaaa7c04c2e46bac62d82e7ed15.tar.xz
Fix compilation problem with some versions of G++
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Timer.cpp')
-rw-r--r--lib/Support/Timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp
index 85114b57f2..625653afe1 100644
--- a/lib/Support/Timer.cpp
+++ b/lib/Support/Timer.cpp
@@ -235,7 +235,7 @@ std::ostream *GetLibSupportInfoOutputFile() {
return &std::cout;
std::ostream *Result = new std::ofstream(LibSupportInfoOutputFilename.c_str(),
- std::ios_base::app);
+ std::ios::app);
if (!Result->good()) {
std::cerr << "Error opening info-output-file '"
<< LibSupportInfoOutputFilename << " for appending!\n";