summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-03-04 00:05:31 +0100
committerCarl Hetherington <cth@carlh.net>2022-03-14 23:05:47 +0100
commitdcdf17d9d495b433d48d265133f914ec967f6d90 (patch)
treec4a3d64370ee253a10fdaf4a321d2f1c6c14a2e6
parente447094559fcf47e93509ea83d4ecae5d718fc5a (diff)
Remove unused capture.
-rw-r--r--src/rating.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rating.cc b/src/rating.cc
index 0ba9f2b8..dc32ec9c 100644
--- a/src/rating.cc
+++ b/src/rating.cc
@@ -98,7 +98,7 @@ dcp::load_rating_list(boost::filesystem::path ratings_file)
return a;
};
- auto get_line = [f, ratings_file, &get_line_no_throw]() {
+ auto get_line = [ratings_file, &get_line_no_throw]() {
auto line = get_line_no_throw();
if (!line) {
throw FileError("Bad ratings file", ratings_file, -1);