mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 00:38:08 +08:00
fix: guard access check funcs by macro
This commit is contained in:
@@ -2042,7 +2042,9 @@ class basic_value
|
||||
comment_type const& comments() const noexcept {return this->comments_;}
|
||||
comment_type& comments() noexcept {return this->comments_;}
|
||||
|
||||
#ifdef TOML11_ENABLE_ACCESS_CHECK
|
||||
bool accessed() const {return this->accessed_.load();}
|
||||
#endif
|
||||
|
||||
private:
|
||||
|
||||
|
Reference in New Issue
Block a user