This commit is contained in:
M. Petra Baranski 2019-02-19 02:43:09 +01:00
γονέας c5c37a7627
υποβολή 3484198ade
2 αρχεία άλλαξαν με 18 προσθήκες και 16 διαγραφές

@ -12,4 +12,4 @@ build:
project: $(APPVEYOR_BUILD_FOLDER)\tmp\$(APPVEYOR_PROJECT_NAME).sln project: $(APPVEYOR_BUILD_FOLDER)\tmp\$(APPVEYOR_PROJECT_NAME).sln
test_script: test_script:
- cmd: ctest -VV -C "Release" - cmd: ctest -VV -C "Debug"

@ -157,7 +157,8 @@ protected:
{ {
bool hasMetNonSpace = false; bool hasMetNonSpace = false;
uint32_t indentation = std::count_if( uint32_t indentation = static_cast<uint32_t>(
std::count_if(
line.begin(), line.begin(),
line.end(), line.end(),
[&hasMetNonSpace](unsigned char c) [&hasMetNonSpace](unsigned char c)
@ -175,6 +176,7 @@ protected:
hasMetNonSpace = true; hasMetNonSpace = true;
return false; return false;
} }
)
); );
return indentation; return indentation;