1
0
miroir de https://github.com/quitesimpleorg/qsmaddy.git synchronisé 2026-02-01 14:10:29 +01:00

appveyor - use debug

Cette révision appartient à :
M. Petra Baranski
2019-02-19 02:43:09 +01:00
Parent c5c37a7627
révision 3484198ade
2 fichiers modifiés avec 18 ajouts et 16 suppressions

Voir le fichier

@@ -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"

Voir le fichier

@@ -157,24 +157,26 @@ protected:
{ {
bool hasMetNonSpace = false; bool hasMetNonSpace = false;
uint32_t indentation = std::count_if( uint32_t indentation = static_cast<uint32_t>(
line.begin(), std::count_if(
line.end(), line.begin(),
[&hasMetNonSpace](unsigned char c) line.end(),
{ [&hasMetNonSpace](unsigned char c)
if (hasMetNonSpace)
{ {
if (hasMetNonSpace)
{
return false;
}
if (std::isspace(c))
{
return true;
}
hasMetNonSpace = true;
return false; return false;
} }
)
if (std::isspace(c))
{
return true;
}
hasMetNonSpace = true;
return false;
}
); );
return indentation; return indentation;