1
0
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:
Thomas Harte
2025-10-27 12:52:57 -04:00
parent 3dd07b6ac1
commit a32202ab72
+1 -1
View File
@@ -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;