Skip to content

Commit

Permalink
#4 Add code coverage
Browse files Browse the repository at this point in the history
* Update sources directory
* Introduce warning to see if it gets picked up by SonarCloud
  • Loading branch information
tzijnge committed Nov 1, 2024
1 parent 9f2fff0 commit 48a0805
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/cpp/include/lrpc/Server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class Server

sendBuffer[0] = writer.size_bytes();

const auto b = reinterpret_cast<const uint8_t *>(writer.cbegin());
const auto b = (uint8_t *)writer.cbegin();
const auto e = reinterpret_cast<const uint8_t *>(writer.cend());
lrpcTransmit({b, e});
}
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ sonar.projectVersion=1.0


# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=tests/cpp, src
sonar.sources=resources,tests,src/lrpc

0 comments on commit 48a0805

Please sign in to comment.