diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-31 23:47:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-31 23:47:14 +0100 |
| commit | e0255a64d22440d718e5512f34a4f21f0d37a21b (patch) | |
| tree | 61927018d28794c7c32c238bc37259bfddb2f01c /src/lib/content_part.h | |
| parent | 8fedaaa75c4586a4cc7ffb393bd71d1fdb091dc8 (diff) | |
Use enum class for Film::Property.
Diffstat (limited to 'src/lib/content_part.h')
| -rw-r--r-- | src/lib/content_part.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/content_part.h b/src/lib/content_part.h index a81334270..443c356b1 100644 --- a/src/lib/content_part.h +++ b/src/lib/content_part.h @@ -41,7 +41,7 @@ protected: void maybe_set (T& member, T new_value, int property) const { - ChangeSignaller<Content> cc (_parent, property); + ContentChangeSignaller cc (_parent, property); { boost::mutex::scoped_lock lm (_mutex); if (member == new_value) { @@ -56,7 +56,7 @@ protected: void maybe_set (boost::optional<T>& member, T new_value, int property) const { - ChangeSignaller<Content> cc (_parent, property); + ContentChangeSignaller cc (_parent, property); { boost::mutex::scoped_lock lm (_mutex); if (member && member.get() == new_value) { |
