fix indentation of greatestCommonDivisor

This commit is contained in:
Benjamin Sergeant 2019-04-25 16:21:36 -07:00
parent 7256b3df65
commit 561eac816b

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;
@ -61,6 +64,7 @@ int greatestCommonDivisor (int a, int b) {
return a; return a;
} }
}
namespace ix namespace ix
{ {