cam: options: Fix coding style issue related to templates
Our coding style doesn't add a space after the template keyword. Fix the source code accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
parent
5fb0ea016c
commit
0c0b1e4dbe
2 changed files with 6 additions and 6 deletions
|
@ -39,25 +39,25 @@ const char *Option::typeName() const
|
|||
* OptionBase<T>
|
||||
*/
|
||||
|
||||
template <typename T>
|
||||
template<typename T>
|
||||
bool OptionsBase<T>::valid() const
|
||||
{
|
||||
return !values_.empty();
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
template<typename T>
|
||||
bool OptionsBase<T>::isSet(const T &opt) const
|
||||
{
|
||||
return values_.find(opt) != values_.end();
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
template<typename T>
|
||||
const OptionValue &OptionsBase<T>::operator[](const T &opt) const
|
||||
{
|
||||
return values_.find(opt)->second;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
template<typename T>
|
||||
bool OptionsBase<T>::parseValue(const T &opt, const Option &option,
|
||||
const char *optarg)
|
||||
{
|
||||
|
@ -100,7 +100,7 @@ bool OptionsBase<T>::parseValue(const T &opt, const Option &option,
|
|||
return true;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
template<typename T>
|
||||
void OptionsBase<T>::clear()
|
||||
{
|
||||
values_.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue