Page MenuHomePhorge

No OneTemporary

diff --git a/cpp/match.hpp b/cpp/match.hpp
index 202227e..2ca6d1c 100644
--- a/cpp/match.hpp
+++ b/cpp/match.hpp
@@ -1,14 +1,14 @@
#pragma once
#include <string>
namespace ivy {
struct Match {
int score;
std::string content;
};
-static bool sort_match(const Match& a, const Match& b) { return a.score > b.score; }
+static bool sort_match(const Match& a, const Match& b) { return a.score < b.score; }
} // namespace ivy

File Metadata

Mime Type
text/x-diff
Expires
Thu, May 7, 6:24 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9017
Default Alt Text
(442 B)

Event Timeline