Commit ee838173 authored by Orvid King's avatar Orvid King Committed by Facebook GitHub Bot

Use nullptr not 0 for fallback in cpp demangle code

Summary: This returns a char* so correct return is nullptr, not 0.

Reviewed By: usikder

Differential Revision: D26122982

fbshipit-source-id: 8c62520403fce966f83939be7cc03f6dc6be4aee
parent 0effaa94
......@@ -54,7 +54,7 @@ char* cplus_demangle_v3_wrapper(const char* mangled) {
return cplus_demangle_v3(mangled, options);
#else
(void)mangled;
return 0;
return nullptr;
#endif
}
......
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