-
Notifications
You must be signed in to change notification settings - Fork 1k
fix(init): register AV connects and call after AV is ready #4651
Conversation
158e8a2
to
186b3a7
Compare
Review status: 0 of 3 files reviewed at latest revision, 4 unresolved discussions. src/core/core.cpp, line 248 at r1 (raw file):
src/core/core.cpp, line 249 at r1 (raw file):
If this >> means tab here in Reviewable? Then it should be replaced to spaces. src/core/core.cpp, line 1395 at r1 (raw file):
Should be Or, you assume that here gonna be two moves? (into callWehnAvReady() and into empalce_back())? If yes, I am kinda sure that you need src/core/core.cpp, line 1397 at r1 (raw file):
Spaces, no tabs. Comments from Reviewable |
186b3a7
to
36ec79e
Compare
Review status: 0 of 3 files reviewed at latest revision, 4 unresolved discussions. src/core/core.cpp, line 248 at r1 (raw file): Previously, Talkless (Vincas Dargis) wrote…
Done. src/core/core.cpp, line 249 at r1 (raw file): Previously, Talkless (Vincas Dargis) wrote…
Done. src/core/core.cpp, line 1395 at r1 (raw file): Previously, Talkless (Vincas Dargis) wrote…
changed to const &, this removes the need for std::move, correct? src/core/core.cpp, line 1397 at r1 (raw file): Previously, Talkless (Vincas Dargis) wrote…
Done. Comments from Reviewable |
please someone else also take a look Reviewed 1 of 3 files at r1, 2 of 2 files at r2. Comments from Reviewable |
Review status: all files reviewed at latest revision, 4 unresolved discussions, all commit checks successful. src/core/core.cpp, line 1395 at r1 (raw file): Previously, anthonybilinski (Anthony Bilinski) wrote…
AFAIC, Comments from Reviewable |
Review status: all files reviewed at latest revision, 5 unresolved discussions, all commit checks successful. src/core/core.cpp, line 1395 at r1 (raw file):
You need to take rvalue reference: See for sink function example: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#f18-for-consume-parameters-pass-by-x-and-stdmove-the-parameter If it has a name, it's lvalue reference, and not gonna be moved from by default (unless it's in return statement AFAIK, local variable can be moved into function result). Comments from Reviewable |
36ec79e
to
dc97be2
Compare
Review status: 1 of 3 files reviewed at latest revision, 5 unresolved discussions, some commit checks pending. src/core/core.cpp, line 1395 at r1 (raw file): Previously, noavarice wrote…
It compiles, FYI. Not sure why.. src/core/core.cpp, line 1395 at r1 (raw file): Previously, Talkless (Vincas Dargis) wrote…
Changed from const& to rvalue reference, with a std::move into container, as per cpp core guidelines recommendation linked. Thanks for the in-depth feedback :) Comments from Reviewable |
Review status: 1 of 3 files reviewed at latest revision, 5 unresolved discussions, all commit checks successful. src/core/core.cpp, line 1395 at r1 (raw file): Previously, anthonybilinski (Anthony Bilinski) wrote…
It's not about compiling, this just will do the copy of Comments from Reviewable |
Reviewed 1 of 3 files at r1, 2 of 2 files at r3. Comments from Reviewable |
dc97be2
to
7bae194
Compare
Reviewed 1 of 3 files at r1, 2 of 2 files at r3. Comments from Reviewable |
7bae194
to
7170b48
Compare
rebased back to tip |
Review status: 0 of 3 files reviewed at latest revision, 1 unresolved discussion. src/core/core.h, line 230 at r4 (raw file):
Why not Comments from Reviewable |
Reviewed 3 of 3 files at r4. Comments from Reviewable |
Review status: all files reviewed at latest revision, 1 unresolved discussion. src/core/core.h, line 230 at r4 (raw file): Previously, noavarice wrote…
And how One should use Comments from Reviewable |
Review status: all files reviewed at latest revision, 1 unresolved discussion. src/core/core.h, line 230 at r4 (raw file): Previously, Talkless (Vincas Dargis) wrote…
Got it) Comments from Reviewable |
anthony.bilinski (1): fix(init): register AV connects and call after AV is ready
Fixes #4406
This change is