reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit b98367fd0bb2891ce1fe68d44cef144cc97f375f
parent 07f49e104b495cf3c4175e4f31d853a69d82c04a
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Sat,  8 Dec 2018 11:06:45 -0500

Revert "receipt: sort new/reinstalled packages to the top"

This reverts commit 4a5f06fcaad3fb5e7df4dcbec2d5600cfcc1d483.

Diffstat:
Msrc/receipt.cpp | 2+-
Msrc/receipt.hpp | 1-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/receipt.cpp b/src/receipt.cpp @@ -117,7 +117,7 @@ bool InstallTicket::operator<(const InstallTicket &o) const boost::algorithm::to_lower(l); boost::algorithm::to_lower(r); - return versionChanged() < o.versionChanged() || l < r; + return l < r; } ostream &operator<<(ostream &os, const InstallTicket &t) diff --git a/src/receipt.hpp b/src/receipt.hpp @@ -120,7 +120,6 @@ public: InstallTicket(const Version *ver, const Registry::Entry &previousEntry); bool operator<(const InstallTicket &) const; - bool versionChanged() const { return (m_type & 2) != 0; } private: friend std::ostream &operator<<(std::ostream &, const InstallTicket &);