From 5ac63ec526ee76caa3b36c2656e5707c7b6b4144 Mon Sep 17 00:00:00 2001 From: Jingyu Zhou Date: Thu, 24 Oct 2019 14:54:38 -0700 Subject: [PATCH] Apply clang-format --- fdbbackup/FileConverter.actor.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/fdbbackup/FileConverter.actor.cpp b/fdbbackup/FileConverter.actor.cpp index c9be8b00e4..08ea7ddf83 100644 --- a/fdbbackup/FileConverter.actor.cpp +++ b/fdbbackup/FileConverter.actor.cpp @@ -63,9 +63,9 @@ std::vector getRelevantLogFiles(const std::vector& files, Vers } void printLogFiles(std::string msg, const std::vector& files) { - std::cout<< msg << " " << files.size() << " log files\n"; + std::cout << msg << " " << files.size() << " log files\n"; for (const auto& file : files) { - std::cout<< file.toString() << "\n"; + std::cout << file.toString() << "\n"; } std::cout << std::endl; } @@ -121,13 +121,13 @@ int parseCommandLine(ConvertParams* param, CSimpleOpt* args) { while (args->Next()) { auto lastError = args->LastError(); switch (lastError) { - case SO_SUCCESS: - break; + case SO_SUCCESS: + break; - default: - fprintf(stderr, "ERROR: argument given for option `%s'\n", args->OptionText()); - return FDB_EXIT_ERROR; - break; + default: + fprintf(stderr, "ERROR: argument given for option `%s'\n", args->OptionText()); + return FDB_EXIT_ERROR; + break; } int optId = args->OptionId(); @@ -222,7 +222,7 @@ int main(int argc, char** argv) { auto f = stopAfter(test_container(param)); return status; - } catch (Error& e) { + } catch (Error& e) { fprintf(stderr, "ERROR: %s\n", e.what()); return FDB_EXIT_ERROR; } catch (std::exception& e) {