Skip to content

Commit 4a36505

Browse files
committed
Fix warning
1 parent d931014 commit 4a36505

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/_sysstate.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ of tether particles.
1313
1414
$(TYPEDFIELDS)
1515
"""
16-
Base.@kwdef mutable struct SysState{P}
16+
@with_kw_noshow mutable struct SysState{P}
1717
"time since start of simulation [s]"
1818
time::Float64 = 0
1919
"time needed for one simulation timestep [s]"

src/build.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ of tether particles.
2525
2626
\$(TYPEDFIELDS)
2727
\"\"\"
28-
Base.@kwdef mutable struct SysState{P}"""
28+
@with_kw_noshow mutable struct SysState{P}"""
2929
FOOTER = "end"
3030
inputfile = joinpath("src", "sysstate.yaml")
3131
outputfile = joinpath("src", "_sysstate.jl")

0 commit comments

Comments
 (0)