mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Off by one errors .-.
This commit is contained in:
parent
68660a1bed
commit
9aabf71896
|
@ -122,7 +122,7 @@ inline bool operator!=(const proxy<Table, Key>& right, T&& left) {
|
|||
}
|
||||
|
||||
template<typename Table, typename Key>
|
||||
inline bool operator==(nil_t left, const proxy<Table, Key>& right) {
|
||||
inline bool operator==(nil_t, const proxy<Table, Key>& right) {
|
||||
return !right.valid();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user