Commit 8189036
committed
filter_base.hpp: use unsigned long instead of size_t in getParam 2nd parameter
* it was added in:
25c7d30
but unfortunately on 32bit systems size_t could be the same as unsigned int already
defined above and then the build fails with:
| filters/2.0.0-1-r0/git/include/filters/filter_base.hpp:219:8: error: 'bool filters::FilterBase<T>::getParam(const string&, size_t&)' cannot be overloaded with 'bool filters::FilterBase<T>::getParam(const string&, unsigned int&)'
| 219 | bool getParam(const std::string & name, size_t & value)
| | ^~~~~~~~
| filters/2.0.0-1-r0/git/include/filters/filter_base.hpp:201:8: note: previous declaration 'bool filters::FilterBase<T>::getParam(const string&, unsigned int&)'
| 201 | bool getParam(const std::string & name, unsigned int & value)
| | ^~~~~~
Signed-off-by: Martin Jansa <[email protected]>1 parent 9cff784 commit 8189036
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
| 215 | + | |
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
0 commit comments