diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-10 06:39:33 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-04-29 01:43:09 (GMT) |
commit | 5554910ec2573282a85e61736e96f48e5f550066 (patch) | |
tree | 215b43a4e2f524e5afe1fcee30463b66daece403 /Tests/CTestUpdateGIT.cmake.in | |
parent | bb1c41a085c6eb9296bf701ea7633f715a06f6e1 (diff) | |
download | CMake-5554910ec2573282a85e61736e96f48e5f550066.zip CMake-5554910ec2573282a85e61736e96f48e5f550066.tar.gz CMake-5554910ec2573282a85e61736e96f48e5f550066.tar.bz2 |
cmSourceFileLocation: Avoid string allocation in extension checking
The substr call was causing excess allocations. Swap the cheaper
character check to be before the longer string comparison, now using the
prefix checking function.
Diffstat (limited to 'Tests/CTestUpdateGIT.cmake.in')
0 files changed, 0 insertions, 0 deletions