Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 1a02389

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 06c4ed8 commit 1a02389

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/custom_entity.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ void CustomEntity::rmValidSignal() {
4646
signalDeregistration("out_double");
4747
}
4848

49-
double &CustomEntity::update(double &res, const sigtime_t &inTime) {
50-
const double &aDouble = m_sigdSIN(inTime);
49+
double& CustomEntity::update(double& res, const sigtime_t& inTime) {
50+
const double& aDouble = m_sigdSIN(inTime);
5151
res = aDouble;
5252
logger().stream(MSG_TYPE_ERROR) << "start update " << res << '\n';
5353
DYNAMIC_GRAPH_ENTITY_DEBUG(*this)

tests/custom_entity.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class CustomEntity : public Entity {
2424

2525
void rmValidSignal();
2626

27-
double &update(double &res, const sigtime_t &inTime);
27+
double& update(double& res, const sigtime_t& inTime);
2828

2929
void act();
3030
};

0 commit comments

Comments
 (0)