From 8da0a38fd77d39cb91bff0966d02f7e966650b13 Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Thu, 15 Nov 2018 14:04:22 -0800 Subject: [PATCH] Run make format. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- tools/xc7patch.cc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tools/xc7patch.cc b/tools/xc7patch.cc index dd53a559..222fc6e1 100644 --- a/tools/xc7patch.cc +++ b/tools/xc7patch.cc @@ -36,8 +36,9 @@ DEFINE_string(output_file, "", "Write patched bitsteam to file"); namespace xc7series = prjxray::xilinx::xc7series; -int patch_frames(const std::string &frm_file_str, - std::map> *frames) { +int patch_frames( + const std::string& frm_file_str, + std::map>* frames) { // Apply the deltas. std::ifstream frm_file(frm_file_str); if (!frm_file) { @@ -58,10 +59,10 @@ int patch_frames(const std::string &frm_file_str, std::stoul(frame_delta.first, nullptr, 16); auto iter = frames->find(frame_address); - if(iter == frames->end()) { + if (iter == frames->end()) { std::cerr - << "frame address 0x" << std::hex <