summaryrefslogtreecommitdiff
path: root/vcl/README.lifecycle
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-23 09:14:13 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 13:06:20 +0100
commit0e491a7a2affbb08071e6378dacc1995cb301655 (patch)
treec93205745e1fcd69ff508a3d04aa064bb90606ae /vcl/README.lifecycle
parentc612c3b0aed9ad7f7f42b4313f821b71995ead15 (diff)
vclptr: add isDisposed method - and assert for it here & there.
Change-Id: I2b154e0ed9eee0a45900ada7f805a1d444a31bc0
Diffstat (limited to 'vcl/README.lifecycle')
-rw-r--r--vcl/README.lifecycle4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/README.lifecycle b/vcl/README.lifecycle
index 1ee7eab7ea6b..0edd0c8b19eb 100644
--- a/vcl/README.lifecycle
+++ b/vcl/README.lifecycle
@@ -144,11 +144,13 @@ or:
their constructors.
* Pass 'const VclPtr<> &' instead of pointers everywhere
+ + add 'explicit' keywords to VclPtr constructors to
+ accelerate compilation etc.
* Cleanup common existing methods such that they continue to
work post-dispose.
- * Dispose functions shoudl be audited to:
+ * Dispose functions should be audited to:
+ not leave dangling pointsr
+ shrink them - some work should incrementally
migrate back to destructors.