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
339915ba
Commit
339915ba
authored
May 20, 2017
by
Tsukasa OMOTO
Committed by
Guolin Ke
May 20, 2017
Browse files
Shut up warning (#534)
warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
parent
2dbf1a2e
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 @
339915ba
...
@@ -91,7 +91,7 @@ public:
...
@@ -91,7 +91,7 @@ public:
}
}
/*! \brief Pointer of score */
/*! \brief Pointer of score */
inline
const
double
*
score
()
const
{
return
score_
.
data
();
}
inline
const
double
*
score
()
const
{
return
score_
.
data
();
}
inline
const
data_size_t
num_data
()
const
{
return
num_data_
;
}
inline
data_size_t
num_data
()
const
{
return
num_data_
;
}
/*! \brief Disable copy */
/*! \brief Disable copy */
ScoreUpdater
&
operator
=
(
const
ScoreUpdater
&
)
=
delete
;
ScoreUpdater
&
operator
=
(
const
ScoreUpdater
&
)
=
delete
;
...
...
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