You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following warning is generated during build:
gradle warning: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
This occurs in the generated MMKV.cpp on the bool MMKV::getBytes method, calls std::move on a temporary object, which causes the warning. This potentially causes efficiency issues.
The following warning is generated during build:
gradle warning: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
This occurs in the generated MMKV.cpp on the
bool MMKV::getBytes
method, calls std::move on a temporary object, which causes the warning. This potentially causes efficiency issues.The fix would be:
But since it's a generated file I'm not sure how/if it could be fixed in the source code.
The text was updated successfully, but these errors were encountered: