Skip to content
Snippets Groups Projects
Commit 068358e1 authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

cmMakefile::AddCacheDefinition: avoid conversions between char* and string

Running the testsuite this function is entered more than 126,000 times. Reorder
the code flow so that a conversion from char* to std::string is only done when
the cache entry is a path one, which happens only ~50 times during the
testsuite.
parent 484958b7
No related branches found
No related tags found
No related merge requests found
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