From dc852b9a2f47efefc7c7ce521f2c03e5024205b6 Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Mon, 27 Dec 2021 10:54:46 +0100 Subject: [PATCH] Run clang-format --- src/cmake_generator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cmake_generator.cpp b/src/cmake_generator.cpp index 00aff0c..1c1d815 100644 --- a/src/cmake_generator.cpp +++ b/src/cmake_generator.cpp @@ -616,9 +616,9 @@ void generate_cmake(const char *path, const parser::Project *parent_project) { throw std::runtime_error("Invalid vcpkg package name '" + package.name + "'"); } for (const auto &feature : features) { - if (!vcpkg_valid_identifier(feature)) { - throw std::runtime_error("Invalid vcpkg package feature '" + feature + "'"); - } + if (!vcpkg_valid_identifier(feature)) { + throw std::runtime_error("Invalid vcpkg package feature '" + feature + "'"); + } } if (features.empty()) { ofs << " \"" << package.name << '\"';