From b64da67d9d9db062dafa2d51a8cb803141f7efdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=BChnle?= Date: Wed, 1 Jun 2016 21:50:49 +0200 Subject: [PATCH] Improved to two spaces instead of four! Much better. Evidence: https://www.google.com/trends/explore#q=two%20spaces%2C%20four%20spaces&cmpt=q&tz=Etc%2FGMT-2 --- src/lib/common.cc | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/lib/common.cc b/src/lib/common.cc index 9192efd..4d2120d 100644 --- a/src/lib/common.cc +++ b/src/lib/common.cc @@ -1,26 +1,26 @@ namespace { - // Code to turn parameters to functions on streams into strings - // Will be VLOG'ed. We need overloads instead of - // e.g. BatchDescriptorToVlogString(), as the code that calls these - // function does not know what the type of the parameters is. + // Code to turn parameters to functions on streams into strings + // Will be VLOG'ed. We need overloads instead of + // e.g. BatchDescriptorToVlogString(), as the code that calls these + // function does not know what the type of the parameters is. - string ToVlogStrin(const dnn::BatchDescriptor &descriptor) { - return descriptor.ToShortString(); - } + string ToVlogStrin(const dnn::BatchDescriptor &descriptor) { + return descriptor.ToShortString(); + } - string ToVlogStrin(const dnn::FilterDescriptor &descriptor) { - return descriptor.ToShortString(); - } + string ToVlogStrin(const dnn::FilterDescriptor &descriptor) { + return descriptor.ToShortString(); + } - string ToVlogString(const magicalMovieClassifier::FilterDescriptor &descriptor) { - return descriptor.ToShortString(); - } + string ToVlogString(const magicalMovieClassifier::FilterDescriptor &descriptor) { + return descriptor.ToShortString(); + } - string ToVlogStrin(const dnn::PoolingDescriptor &descriptor) { - return descriptor.ToShortString(); - } - - string ToVlogStrin(const dnn::ConvolutionDescriptor &descriptor) { - return descriptor.ToShortString(); - } + string ToVlogStrin(const dnn::PoolingDescriptor &descriptor) { + return descriptor.ToShortString(); + } + + string ToVlogStrin(const dnn::ConvolutionDescriptor &descriptor) { + return descriptor.ToShortString(); + } }