Skip to content

Commit

Permalink
Object-nt: Fix member function constness
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Stahl committed Nov 10, 2016
1 parent 245207d commit 6c10d55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion symtabAPI/src/Object-nt.C
Expand Up @@ -2351,7 +2351,7 @@ void Object::insertPrereqLibrary(std::string lib)
getRegionPermissions() == RP_RWX);
}

Dyninst::Architecture Object::getArch()
Dyninst::Architecture Object::getArch() const
{
return Dyninst::Arch_x86;
}
Expand Down
2 changes: 1 addition & 1 deletion symtabAPI/src/Object-nt.h
Expand Up @@ -202,7 +202,7 @@ class Object : public AObject
SYMTAB_EXPORT const char *interpreter_name() const { return NULL; }
SYMTAB_EXPORT dyn_hash_map <std::string, LineInformation> &getLineInfo();
SYMTAB_EXPORT void parseTypeInfo();
SYMTAB_EXPORT virtual Dyninst::Architecture getArch();
SYMTAB_EXPORT virtual Dyninst::Architecture getArch() const;
SYMTAB_EXPORT void ParseGlobalSymbol(PSYMBOL_INFO pSymInfo);
SYMTAB_EXPORT const std::vector<Offset> &getPossibleMains() const { return possible_mains; }
SYMTAB_EXPORT void getModuleLanguageInfo(dyn_hash_map<std::string, supportedLanguages> *mod_langs);
Expand Down

0 comments on commit 6c10d55

Please sign in to comment.