Summary: Which warns about the use of a ternary statement with the first operand omitted. This is a GCC extension and MSVC does not support it, so eliminate the last use of it.
Reviewed By: yfeldblum
Differential Revision:
D4309989
fbshipit-source-id:
04c968708e47f8cb707fd0892e8780bc676df0de
}
Symbolizer::Symbolizer(ElfCacheBase* cache, Dwarf::LocationInfoMode mode)
- : cache_(cache ?: defaultElfCache()), mode_(mode) {
+ : cache_(cache ? cache : defaultElfCache()), mode_(mode) {
}
void Symbolizer::symbolize(const uintptr_t* addresses,