mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
style: adjust clang-format rules (#2186)
Co-authored-by: Vithorio Polten <reach@vithor.io>
This commit is contained in:
@@ -1,19 +1,18 @@
|
||||
/**
|
||||
* @file src/stat_trackers.cpp
|
||||
* @brief Definitions for streaming statistic tracking.
|
||||
*/
|
||||
#include "stat_trackers.h"
|
||||
|
||||
namespace stat_trackers {
|
||||
|
||||
boost::format
|
||||
one_digit_after_decimal() {
|
||||
return boost::format("%1$.1f");
|
||||
}
|
||||
|
||||
boost::format
|
||||
two_digits_after_decimal() {
|
||||
return boost::format("%1$.2f");
|
||||
}
|
||||
|
||||
} // namespace stat_trackers
|
||||
/**
|
||||
* @file src/stat_trackers.cpp
|
||||
* @brief Definitions for streaming statistic tracking.
|
||||
*/
|
||||
// local includes
|
||||
#include "stat_trackers.h"
|
||||
|
||||
namespace stat_trackers {
|
||||
|
||||
boost::format one_digit_after_decimal() {
|
||||
return boost::format("%1$.1f");
|
||||
}
|
||||
|
||||
boost::format two_digits_after_decimal() {
|
||||
return boost::format("%1$.2f");
|
||||
}
|
||||
|
||||
} // namespace stat_trackers
|
||||
|
||||
Reference in New Issue
Block a user