CI: added a clang-format job

This commit is contained in:
Benoit Blanchon
2021-02-26 13:08:01 +01:00
parent 3aab36fec2
commit 9094179856
4 changed files with 20 additions and 2 deletions

View File

@ -54,7 +54,7 @@ template <typename TObject>
template <typename TString>
inline typename enable_if<IsString<TString*>::value,
MemberProxy<TObject, TString*> >::type
ObjectShortcuts<TObject>::operator[](TString* key) const {
ObjectShortcuts<TObject>::operator[](TString* key) const {
return MemberProxy<TObject, TString*>(*impl(), key);
}
@ -62,7 +62,7 @@ template <typename TObject>
template <typename TString>
inline typename enable_if<IsString<TString>::value,
MemberProxy<TObject, TString> >::type
ObjectShortcuts<TObject>::operator[](const TString& key) const {
ObjectShortcuts<TObject>::operator[](const TString& key) const {
return MemberProxy<TObject, TString>(*impl(), key);
}