diff options
Diffstat (limited to 'basctl/source/basicide/breakpoint.hxx')
-rw-r--r-- | basctl/source/basicide/breakpoint.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/basctl/source/basicide/breakpoint.hxx b/basctl/source/basicide/breakpoint.hxx index 847f073523fe..5d1981bcf165 100644 --- a/basctl/source/basicide/breakpoint.hxx +++ b/basctl/source/basicide/breakpoint.hxx @@ -38,7 +38,14 @@ struct BreakPoint size_t nStopAfter; size_t nHitCount; - BreakPoint(size_t nL) { nLine = nL; nStopAfter = 0; nHitCount = 0; bEnabled = true; bTemp = false; } + explicit BreakPoint(size_t nL) + : bEnabled(true) + , bTemp(false) + , nLine(nL) + , nStopAfter(0) + , nHitCount(0) + { + } }; class BreakPointList |