mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-21 02:17:08 +00:00
Be more overt in trying to avoid "use of undeclared identifier".
This commit is contained in:
@@ -114,7 +114,7 @@ struct NoValue {
|
||||
class Writeable {
|
||||
public:
|
||||
uint8_t operator=(const uint8_t value) {
|
||||
if constexpr (requires{did_write_;}) {
|
||||
if constexpr (requires{this->did_write_;}) {
|
||||
did_write_ = true;
|
||||
}
|
||||
return result_ = value;
|
||||
|
||||
Reference in New Issue
Block a user