aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/binary-cache-store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-07-04 16:34:53 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-07-04 16:34:53 +0200
commit42c5774e78a9f1422dee9c35adb9c056aa994d3b (patch)
tree6d162197e5993948b7f62446a5fd66ec00d74768 /src/libstore/binary-cache-store.hh
parentb7203e853e3b928e1a7fb081fce379f023e935bb (diff)
Sort substituters by priority
Fixes #1438.
Diffstat (limited to 'src/libstore/binary-cache-store.hh')
-rw-r--r--src/libstore/binary-cache-store.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/binary-cache-store.hh b/src/libstore/binary-cache-store.hh
index bf5a56ab4..f9c1c2cbe 100644
--- a/src/libstore/binary-cache-store.hh
+++ b/src/libstore/binary-cache-store.hh
@@ -123,6 +123,8 @@ public:
std::shared_ptr<std::string> getBuildLog(const Path & path) override;
+ int getPriority() override { return priority; }
+
};
}