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
cba87c37
Commit
cba87c37
authored
Jan 30, 2017
by
cbecker
Committed by
Guolin Ke
Jan 31, 2017
Browse files
Fixed gcc non virtual destructor warning (bin.h) and ignored const specifier (dataset.h) (#273)
parent
4f3e9d89
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
include/LightGBM/bin.h
include/LightGBM/bin.h
+1
-0
include/LightGBM/dataset.h
include/LightGBM/dataset.h
+1
-1
No files found.
include/LightGBM/bin.h
View file @
cba87c37
...
...
@@ -242,6 +242,7 @@ public:
* \return Bin data
*/
virtual
uint32_t
Get
(
data_size_t
idx
)
=
0
;
virtual
~
BinIterator
()
=
default
;
};
/*!
...
...
include/LightGBM/dataset.h
View file @
cba87c37
...
...
@@ -173,7 +173,7 @@ public:
* \brief Get Number of queries
* \return Number of queries
*/
inline
const
data_size_t
num_queries
()
const
{
return
num_queries_
;
}
inline
data_size_t
num_queries
()
const
{
return
num_queries_
;
}
/*!
* \brief Get weights for queries, if not exists, will return nullptr
...
...
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