Skip to content
Commit 51477bd0 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

Since getDriver().getInstalledDir() returns a const char *, don't try to

compare it with getDriver().Dir.c_str(), since that is a pointer
comparison, not a "are these strings equal" comparison.

Instead, just compare with getDriver().Dir directly, so both sides will
get promoted to std::string, and the regular std::string comparison
operator applies.

Patch by Dimitry Andric!

llvm-svn: 126791
parent 1276e320
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment