Confirmed users
595
edits
No edit summary |
mNo edit summary |
||
Line 54: | Line 54: | ||
Constructors params are inited like this (notice order of inited params should be the same as they are defined in the class definition, otherwise GCC will warn)<br> | Constructors params are inited like this (notice order of inited params should be the same as they are defined in the class definition, otherwise GCC will warn)<br> | ||
<pre>nsNavHistory::Method(type1* aParam1, | <pre> | ||
nsNavHistory::Method(type1* aParam1, | |||
const type2& aParam2) | |||
: mProperty1(0) | : mProperty1(0) | ||
, mPRoperty2(PR_FALSE) | , mPRoperty2(PR_FALSE) | ||
Line 61: | Line 62: | ||
impl; | impl; | ||
} | } | ||
</pre> | </pre> | ||
Use namespace mozilla::places where possible, or anonymous namespace for file scope. | Use namespace mozilla::places where possible, or anonymous namespace for file scope. | ||