Clean up std namespace issues
Silence warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1790 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
index 5174207..1bc192c 100644
--- a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
+++ b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
@@ -23,6 +23,7 @@
#include "llvm/Module.h"
#include "Support/StringExtras.h"
#include "Support/HashExtras.h"
+#include <ostream>
using std::string;
namespace {
@@ -392,7 +393,8 @@
class SparcModuleAsmPrinter : public Pass, public AsmPrinter {
public:
- SparcModuleAsmPrinter(ostream &os, TargetMachine &t) : AsmPrinter(os, t) {}
+ SparcModuleAsmPrinter(std::ostream &os, TargetMachine &t)
+ : AsmPrinter(os, t) {}
virtual bool run(Module *M) {
startModule(M);