Skip to content

Commit

Permalink
Add auto where type is not explicitly needed
Browse files Browse the repository at this point in the history
Co-authored-by: Václav Kubernát <[email protected]>
  • Loading branch information
fvacek and syyyr authored Dec 12, 2024
1 parent 9ff4c60 commit 68780d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libshvchainpack/src/abstractstreamreader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ RpcValue AbstractStreamReader::read(std::string *error)

ssize_t AbstractStreamReader::readCount() const
{
ssize_t count = m_in.tellg();
auto count = m_in.tellg();
if (count >= 0) {
count -= m_inCtx.end - m_inCtx.current;
}
Expand Down
2 changes: 1 addition & 1 deletion libshviotqt/tests/test_frame_reader.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "shv/chainpack/utils.h"
#include <shv/chainpack/utils.h>
#include <shv/coreqt/rpc.h>
#include <shv/coreqt/log.h>
#include <shv/coreqt/utils.h>
Expand Down

0 comments on commit 68780d1

Please sign in to comment.