Commit b3bb10b5 authored by Jordan Rome's avatar Jordan Rome Committed by Facebook GitHub Bot

fix comment for 'getAddressValue'

Summary: Looks like bad copy/pasta.

Differential Revision: D33279601

fbshipit-source-id: 24d3ad02422ac5af6a1624f09c719207ed4950a6
parent b72a70a3
...@@ -243,7 +243,7 @@ class ElfFile { ...@@ -243,7 +243,7 @@ class ElfFile {
* *
* auto sym = getSymbolByName("someGlobalValue"); * auto sym = getSymbolByName("someGlobalValue");
* auto addr = getSymbolValue<ElfAddr>(sym.second); * auto addr = getSymbolValue<ElfAddr>(sym.second);
* const char* str = &getSymbolValue<const char>(addr); * const char* str = &getAddressValue<const char>(addr);
*/ */
template <class T> template <class T>
const T& getAddressValue(const ElfAddr addr) const noexcept { const T& getAddressValue(const ElfAddr addr) const noexcept {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment