fix indentation of greatestCommonDivisor

This commit is contained in:
Benjamin Sergeant
2019-04-25 16:21:36 -07:00
parent f30a5074ab
commit e251c81d43

View File

@@ -51,7 +51,10 @@
#include <thread> #include <thread>
int greatestCommonDivisor (int a, int b) { namespace
{
int greatestCommonDivisor(int a, int b)
{
while (b != 0) while (b != 0)
{ {
int t = b; int t = b;
@@ -60,6 +63,7 @@ int greatestCommonDivisor (int a, int b) {
} }
return a; return a;
}
} }
namespace ix namespace ix