From 316da371c405ac7c924e116a2eb8c7ce0d31b210 Mon Sep 17 00:00:00 2001 From: martinfehrs Date: Thu, 29 Aug 2024 22:14:48 +0200 Subject: [PATCH] =?UTF-8?q?Entfernung=20von=20unn=C3=B6tigem=20Code=20aus?= =?UTF-8?q?=20dem=20Beispiel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 --- examples/pcalc/pcalc.cpp | 3 --- 2 files changed, 6 deletions(-) diff --git a/README.md b/README.md index 334dd44..8d3276b 100644 --- a/README.md +++ b/README.md @@ -54,9 +54,6 @@ using namespace zs::units; int main(int argc, char** argv) { - constexpr auto a = zs::int_t{ 100 }; - constexpr auto x = zs::int_t{ a }.value(); - // Checking arguments const auto [wall_thickness, outer_diameter, pipe_length] = read_args(argc, argv); diff --git a/examples/pcalc/pcalc.cpp b/examples/pcalc/pcalc.cpp index 39df5ce..b2962a3 100644 --- a/examples/pcalc/pcalc.cpp +++ b/examples/pcalc/pcalc.cpp @@ -38,9 +38,6 @@ using namespace zs::units; int main(int argc, char** argv) { - constexpr auto a = zs::int_t{ 100 }; - constexpr auto x = zs::int_t{ a }.value(); - // Checking arguments const auto [wall_thickness, outer_diameter, pipe_length] = read_args(argc, argv);