clang-format fixes

This commit is contained in:
Hamish Milne 2019-12-27 21:07:29 +00:00 committed by zhupengfei
parent d482fb359c
commit 7b846ffa98
117 changed files with 797 additions and 925 deletions

View file

@ -54,12 +54,11 @@ struct SpecialRegion {
u32 size;
MMIORegionPointer handler;
template<class Archive>
void serialize(Archive & ar, const unsigned int file_version)
{
ar & base;
ar & size;
ar & handler;
template <class Archive>
void serialize(Archive& ar, const unsigned int file_version) {
ar& base;
ar& size;
ar& handler;
}
};
@ -326,8 +325,8 @@ private:
std::unique_ptr<Impl> impl;
friend class boost::serialization::access;
template<class Archive>
void serialize(Archive & ar, const unsigned int file_version);
template <class Archive>
void serialize(Archive& ar, const unsigned int file_version);
};
/// Determines if the given VAddr is valid for the specified process.