diff options
Diffstat (limited to 'src/common/dwarf/dwarf2diehandler.cc')
-rw-r--r-- | src/common/dwarf/dwarf2diehandler.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/common/dwarf/dwarf2diehandler.cc b/src/common/dwarf/dwarf2diehandler.cc index 16399547..c741d69f 100644 --- a/src/common/dwarf/dwarf2diehandler.cc +++ b/src/common/dwarf/dwarf2diehandler.cc @@ -31,10 +31,13 @@ // dwarf2diehandler.cc: Implement the dwarf2reader::DieDispatcher class. // See dwarf2diehandler.h for details. -#include "common/dwarf/dwarf2diehandler.h" - #include <assert.h> +#include <string> + +#include "common/dwarf/dwarf2diehandler.h" +#include "common/using_std_string.h" + namespace dwarf2reader { DIEDispatcher::~DIEDispatcher() { @@ -176,7 +179,7 @@ void DIEDispatcher::ProcessAttributeBuffer(uint64 offset, void DIEDispatcher::ProcessAttributeString(uint64 offset, enum DwarfAttribute attr, enum DwarfForm form, - const std::string& data) { + const string& data) { HandlerStack ¤t = die_handlers_.top(); // This had better be an attribute of the DIE we were meant to handle. assert(offset == current.offset_); |