From 48550041f9663bd13cb805cf770b7d1ddcb1514a Mon Sep 17 00:00:00 2001 From: "ted.mielczarek" Date: Tue, 26 Jul 2011 14:03:09 +0000 Subject: Switch mac DumpSymbols::WriteSymbolFile to take an ostream instead of a FILE* to match the changes to Module::Write R=mark at http://breakpad.appspot.com/294001/show git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@818 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/common/mac/dump_syms.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/common/mac/dump_syms.mm') diff --git a/src/common/mac/dump_syms.mm b/src/common/mac/dump_syms.mm index cc2efe17..5fd614f2 100644 --- a/src/common/mac/dump_syms.mm +++ b/src/common/mac/dump_syms.mm @@ -40,6 +40,7 @@ #include #include +#include #include #include @@ -420,7 +421,7 @@ bool DumpSymbols::LoadCommandDumper::SymtabCommand(const ByteBuffer &entries, return true; } -bool DumpSymbols::WriteSymbolFile(FILE *stream) { +bool DumpSymbols::WriteSymbolFile(std::ostream &stream) { // Select an object file, if SetArchitecture hasn't been called to set one // explicitly. if (!selected_object_file_) { -- cgit v1.2.1