[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master d1df318 5/6: Reformat for concinnity
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master d1df318 5/6: Reformat for concinnity |
Date: |
Mon, 5 Dec 2016 06:55:44 +0000 (UTC) |
branch: master
commit d1df31862c80dcb50e0b062e4264a89523f4b701
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Reformat for concinnity
---
rate_table.cpp | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/rate_table.cpp b/rate_table.cpp
index 8cecb69..be523ad 100644
--- a/rate_table.cpp
+++ b/rate_table.cpp
@@ -872,8 +872,7 @@ class table_impl
// read_xxx() methods for binary format.
- static
- void read_string
+ static void read_string
(boost::optional<std::string>& ostr
,enum_soa_field field
,std::istream& ifs
@@ -881,14 +880,12 @@ class table_impl
);
template<typename T>
- static
- T do_read_number(char const* name, std::istream& ifs);
+ static T do_read_number(char const* name, std::istream& ifs);
void read_type(std::istream& ids, uint16_t length);
template<typename T>
- static
- void read_number
+ static void read_number
(boost::optional<T>& onum
,enum_soa_field field
,std::istream& ifs
@@ -916,8 +913,7 @@ class table_impl
// This method returns the pointer to ostr string value to allow further
// modifying it later in the caller.
- static
- std::string* parse_string
+ static std::string* parse_string
(boost::optional<std::string>& ostr
,enum_soa_field field
,int line_num
@@ -925,8 +921,7 @@ class table_impl
);
// Parse number checking that it is less than the given maximal value.
- static
- unsigned long do_parse_number
+ static unsigned long do_parse_number
(enum_soa_field field
,int line_num
,unsigned long max_num
@@ -934,8 +929,7 @@ class table_impl
);
template<typename T>
- static
- void parse_number
+ static void parse_number
(boost::optional<T>& onum
,enum_soa_field field
,int line_num
- [lmi-commits] [lmi] master updated (161fab5 -> 802eb23), Greg Chicares, 2016/12/05
- [lmi-commits] [lmi] master d1df318 5/6: Reformat for concinnity,
Greg Chicares <=
- [lmi-commits] [lmi] master 464f6df 4/6: Remove superfluous whitespace, Greg Chicares, 2016/12/05
- [lmi-commits] [lmi] master df58835 2/6: Never write files in "text" mode: always use "binary" instead, Greg Chicares, 2016/12/05
- [lmi-commits] [lmi] master 6ca9f20 1/6: Pad names of extracted table files with zeros, Greg Chicares, 2016/12/05
- [lmi-commits] [lmi] master 8094c49 3/6: Refactor for simplicity and clarity, Greg Chicares, 2016/12/05
- [lmi-commits] [lmi] master 802eb23 6/6: Refactor for simplicity, Greg Chicares, 2016/12/05