From 1c011f0aadb6c71805341ba1cf7a53152946c710 Mon Sep 17 00:00:00 2001 From: ValKmjolnir Date: Thu, 11 Apr 2024 23:45:48 +0800 Subject: [PATCH] :memo: adjust size of pic in README --- README.md | 2 +- doc/README_zh.md | 2 +- src/main.cpp | 7 +++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 87ef968..82ac078 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # __Nasal - Modern Interpreter__ - + ![GitHub code size](https://img.shields.io/github/languages/code-size/ValKmjolnir/Nasal-Interpreter?style=flat-square&logo=github) ![GitHub release(latest by date)](https://img.shields.io/github/v/release/ValKmjolnir/Nasal-Interpreter?style=flat-square&logo=github) diff --git a/doc/README_zh.md b/doc/README_zh.md index 8803905..ddb213f 100644 --- a/doc/README_zh.md +++ b/doc/README_zh.md @@ -1,6 +1,6 @@ # __Nasal - Modern Interpreter__ - + ![GitHub code size](https://img.shields.io/github/languages/code-size/ValKmjolnir/Nasal-Interpreter?style=flat-square&logo=github) ![GitHub release(latest by date)](https://img.shields.io/github/v/release/ValKmjolnir/Nasal-Interpreter?style=flat-square&logo=github) diff --git a/src/main.cpp b/src/main.cpp index 216e5a6..0955be9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -117,10 +117,9 @@ void err() { std::exit(1); } -void execute( - const std::string& file, - const std::vector& argv, - const u32 cmd) { +void execute(const std::string& file, + const std::vector& argv, + const u32 cmd) { using clk = std::chrono::high_resolution_clock; const auto den = clk::duration::period::den;