Skip to content

Commit 3afedc6

Browse files
committed
style: lint
1 parent 51bf25e commit 3afedc6

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

ini/ini.h

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ inline int INIReader::ParseError() const {
308308
/**
309309
* @brief Return the list of sections found in ini file
310310
* @return The list of sections found in ini file
311-
*
312-
*
311+
*
312+
*
313313
*/
314314
inline const std::set<std::string> INIReader::Sections() const {
315315
std::set<std::string> retval;
@@ -371,11 +371,13 @@ inline T INIReader::Get(const std::string& section,
371371
}
372372

373373
/**
374-
* @brief Return the value of the given key in the given section, return default if not found
374+
* @brief Return the value of the given key in the given section, return default
375+
* if not found
375376
* @param section The section name
376377
* @param name The key name
377378
* @param default_v The default value
378-
* @return The value of the given key in the given section, return default if not found
379+
* @return The value of the given key in the given section, return default if
380+
* not found
379381
*/
380382
template <typename T>
381383
inline T INIReader::Get(const std::string& section, const std::string& name,
@@ -392,7 +394,7 @@ inline T INIReader::Get(const std::string& section, const std::string& name,
392394
* @param section The section name
393395
* @param name The key name
394396
* @return The value array of the given key in the given section.
395-
*
397+
*
396398
* For example:
397399
* ```ini
398400
* [section]
@@ -402,7 +404,7 @@ inline T INIReader::Get(const std::string& section, const std::string& name,
402404
* const auto vs = ini.GetVector<std::vector<int>>("section", "key");
403405
* // vs = {1, 2, 3, 4}
404406
* ```
405-
*/
407+
*/
406408
template <typename T>
407409
inline std::vector<T> INIReader::GetVector(const std::string& section,
408410
const std::string& name) const {
@@ -424,12 +426,14 @@ inline std::vector<T> INIReader::GetVector(const std::string& section,
424426
}
425427

426428
/**
427-
* @brief Return the value array of the given key in the given section, return default if not found
429+
* @brief Return the value array of the given key in the given section, return
430+
* default if not found
428431
* @param section The section name
429432
* @param name The key name
430433
* @param default_v The default value
431-
* @return The value array of the given key in the given section, return default if not found
432-
*
434+
* @return The value array of the given key in the given section, return default
435+
* if not found
436+
*
433437
* @see INIReader::GetVector
434438
*/
435439
template <typename T>

0 commit comments

Comments
 (0)