Skip to content

Commit

Permalink
#2521 Remove these useless parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed May 10, 2023
1 parent 8fd7d94 commit 93a11c7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/basic/vx_cal/time_array.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ class TimeArray {
////////////////////////////////////////////////////////////////////////


inline int TimeArray::n_elements() const { return ( Nelements ); }
inline int TimeArray::n() const { return ( Nelements ); }
inline int TimeArray::n_elements() const { return Nelements; }
inline int TimeArray::n() const { return Nelements; }


////////////////////////////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions src/basic/vx_config/config_file.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ class MetConfig : public Dictionary {
////////////////////////////////////////////////////////////////////////


inline StringArray MetConfig::filename() const { return ( Filename ); }
inline StringArray MetConfig::filename() const { return Filename; }

inline bool MetConfig::debug() const { return ( Debug ); }
inline bool MetConfig::debug() const { return Debug; }


////////////////////////////////////////////////////////////////////////
Expand Down
6 changes: 3 additions & 3 deletions src/basic/vx_config/config_funcs.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ class UserFunc_1Arg {
////////////////////////////////////////////////////////////////////////


inline ConcatString UserFunc_1Arg::name() const { return ( Name ); }
inline ConcatString UserFunc_1Arg::name() const { return Name; }

inline int UserFunc_1Arg::n_args() const { return ( NArgs ); }
inline int UserFunc_1Arg::n_args() const { return NArgs; }

inline bool UserFunc_1Arg::is_set() const { return ( NArgs >= 0 ); };

inline const IcodeVector * UserFunc_1Arg::program() const { return ( &V ); }
inline const IcodeVector * UserFunc_1Arg::program() const { return &V; }


////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 93a11c7

Please sign in to comment.