From 831f2025368b200076d68d6611b790340ad31a98 Mon Sep 17 00:00:00 2001 From: peri4 Date: Fri, 25 Mar 2022 17:54:51 +0300 Subject: [PATCH] README.md --- README.md | 4 ++-- libs/main/core/pidatetime.cpp | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cfe6905a..72ddd863 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,6 @@ You should add ${} to your target. ## Documentation -[Online documentation](https://shs.tools/pip/html/en/index.html) +[Online documentation 🇺🇸](https://shs.tools/pip/html/en/index.html) -[Онлайн документация](https://shs.tools/pip/html/ru/index.html) +[Онлайн документация 🇷🇺](https://shs.tools/pip/html/ru/index.html) diff --git a/libs/main/core/pidatetime.cpp b/libs/main/core/pidatetime.cpp index e991f93d..09dbaba7 100644 --- a/libs/main/core/pidatetime.cpp +++ b/libs/main/core/pidatetime.cpp @@ -59,10 +59,8 @@ bool operator ==(const PITime & t0, const PITime & t1) { return (t0.hours == t1.hours && t0.minutes == t1.minutes && t0.seconds == t1.seconds); } -#include + bool operator <(const PITime & t0, const PITime & t1) { - std::map m; - m.at if (t0.hours == t1.hours) { if (t0.minutes == t1.minutes) { return t0.seconds < t1.seconds;