Skip to content

Commit

Permalink
Fix type conversion error.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuscu committed Nov 7, 2024
1 parent 57cc106 commit 8dbc48c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/network/tests/common/NetworkWebSocketTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ TEST(NetworkWebSocket, Setup) {
bool failed = false;
auto websocketHandler = [&](
bool success,
std::string_view queryArguments,
std::string_view,
l::network::WebSocket& ws) {
TEST_TRUE_NO_RET(success, "");
TEST_TRUE_NO_RET(ws.IsWebSocket(), "");
Expand Down Expand Up @@ -66,7 +66,7 @@ TEST(NetworkWebSocket, BinanceKlines) {
bool failed = false;
auto websocketHandler = [&](
bool success,
std::string_view queryArguments,
std::string_view,
l::network::WebSocket& ws) {
failed = !success;
LOG(LogInfo) << "Success: " << success;
Expand Down
4 changes: 2 additions & 2 deletions packages/nodegraph/tests/common/NodeGraphDataTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ class TestOp2 : public NodeGraphOp2 {
auto out0 = outputs.at(0).GetIterator(numSamples, 4.0f);
auto out1 = outputs.at(1).GetIterator(numSamples, 4.0f);

mInputManager.SetDuration(0, 24.0f, 0.1);
mInputManager.SetDuration(1, 0.5f, 0.1);
mInputManager.SetDuration(0, 24.0f, 0.1f);
mInputManager.SetDuration(1, 0.5f, 0.1f);

for (int i = 0; i < numSamples; i++) {
float value0 = mInputManager.GetValueNext(0);
Expand Down

0 comments on commit 8dbc48c

Please sign in to comment.