mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: consistent ordering of "inline explicit" vs. "explicit inline"
- resolve in favour of "inline explicit", which had marginally more uses and provides consistent prefixing for inline methods.
This commit is contained in:
@ -86,7 +86,7 @@
|
||||
// - 0: different
|
||||
// - +1: identical
|
||||
// - -1: same face, but different orientation
|
||||
static inline int compare(const triFace&, const triFace&);
|
||||
static int compare(const triFace&, const triFace&);
|
||||
#+end_src
|
||||
or
|
||||
#+begin_src C++
|
||||
@ -95,7 +95,7 @@
|
||||
// - 0: different
|
||||
// - +1: identical
|
||||
// - -1: same face, but different orientation
|
||||
static inline int compare(const triFace&, const triFace&);
|
||||
static int compare(const triFace&, const triFace&);
|
||||
#+end_src
|
||||
*not*
|
||||
#+begin_src C++
|
||||
@ -103,7 +103,7 @@
|
||||
// - 0: different
|
||||
// - +1: identical
|
||||
// - -1: same face, but different orientation
|
||||
static inline int compare(const triFace&, const triFace&);
|
||||
static int compare(const triFace&, const triFace&);
|
||||
#+end_src
|
||||
+ List can be nested for example
|
||||
#+begin_src C++
|
||||
|
||||
Reference in New Issue
Block a user