mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-05 08:26:28 +00:00
Make style improvements.
This commit is contained in:
@@ -53,8 +53,8 @@ template <typename IntT> struct Accessor<IntT, AccessType::PreauthorisedRead> {
|
||||
template <typename IntT>
|
||||
class Writeable {
|
||||
public:
|
||||
Writeable(IntT &target) : target_(target) {}
|
||||
IntT operator=(IntT value) { return target_ = value; }
|
||||
constexpr Writeable(IntT &target) noexcept : target_(target) {}
|
||||
IntT operator=(const IntT value) { return target_ = value; }
|
||||
private:
|
||||
IntT &target_;
|
||||
};
|
||||
|
Reference in New Issue
Block a user