mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Minor style nits in WeakPtr code forgotten by me when reviewing. No bug, r=sparky
--HG-- extra : rebase_source : e8b8071218c9280e970ba4525a3e8ebab729d4eb
This commit is contained in:
parent
a9b67c2069
commit
098475a5bb
@ -16,7 +16,7 @@ class C : public SupportsWeakPtr<C>
|
||||
};
|
||||
|
||||
static void
|
||||
example()
|
||||
Example()
|
||||
{
|
||||
|
||||
C* ptr = new C();
|
||||
@ -47,7 +47,8 @@ struct A : public SupportsWeakPtr<A>
|
||||
};
|
||||
|
||||
|
||||
int main()
|
||||
int
|
||||
main()
|
||||
{
|
||||
|
||||
A* a = new A;
|
||||
@ -70,7 +71,7 @@ int main()
|
||||
|
||||
delete a2;
|
||||
|
||||
example();
|
||||
Example();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user