Skip to content

Commit

Permalink
updated todo task
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Aug 4, 2022
1 parent 32ccdb5 commit b9b0a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/orm/tiny/types/syncchanges.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SyncChanges::SyncChanges()

bool SyncChanges::isValidKey(const QString &key)
{
// FUTURE simply use contains(key) and remove syncKeys(), but this needs to = delete all methods that can modify this map as it's derived from the std::map because now an user can simply add another xyz key to the map and this method would return incorrect results silverqx
// FUTURE simply use contains(key) and remove syncKeys(), but this needs to = delete all methods that can modify this map as it's derived from the std::map because now an user can simply add another xyz key to the map and this method would return incorrect results, even better will be to define std::map as data member and not deriving from it silverqx
return syncKeys().contains(key);
}

Expand Down

0 comments on commit b9b0a7f

Please sign in to comment.