Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
865c126a
Unverified
Commit
865c126a
authored
Aug 20, 2022
by
shiyu1994
Committed by
GitHub
Aug 19, 2022
Browse files
[fix] change the destructor of ScoreUpdater to virtual (fixes #5400) (#5403)
change the destructor of ScoreUpdater to virtual
parent
000fdebf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/boosting/score_updater.hpp
src/boosting/score_updater.hpp
+1
-1
No files found.
src/boosting/score_updater.hpp
View file @
865c126a
...
@@ -46,7 +46,7 @@ class ScoreUpdater {
...
@@ -46,7 +46,7 @@ class ScoreUpdater {
}
}
}
}
/*! \brief Destructor */
/*! \brief Destructor */
~
ScoreUpdater
()
{
virtual
~
ScoreUpdater
()
{
}
}
inline
bool
has_init_score
()
const
{
return
has_init_score_
;
}
inline
bool
has_init_score
()
const
{
return
has_init_score_
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment