diff options
| author | Vincent Richard <[email protected]> | 2006-03-29 20:06:39 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2006-03-29 20:06:39 +0000 |
| commit | e9501b48d86d3c450ac4cbd9b1726d0d22b21784 (patch) | |
| tree | 13e2821f023bae07fb4d57beeddb2bae2d574ec7 /src/net/maildir/maildirStore.cpp | |
| parent | Force encoding when there is a CR/LF in the word. (diff) | |
| download | vmime-e9501b48d86d3c450ac4cbd9b1726d0d22b21784.tar.gz vmime-e9501b48d86d3c450ac4cbd9b1726d0d22b21784.zip | |
Refactored and cleaned up smart pointers.
Diffstat (limited to 'src/net/maildir/maildirStore.cpp')
| -rw-r--r-- | src/net/maildir/maildirStore.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/maildir/maildirStore.cpp b/src/net/maildir/maildirStore.cpp index 79510eb0..4cea5ec3 100644 --- a/src/net/maildir/maildirStore.cpp +++ b/src/net/maildir/maildirStore.cpp @@ -75,7 +75,7 @@ ref <folder> maildirStore::getRootFolder() throw exceptions::illegal_state("Not connected"); return vmime::create <maildirFolder>(folder::path(), - thisWeakRef().dynamicCast <maildirStore>()); + thisRef().dynamicCast <maildirStore>()); } @@ -85,7 +85,7 @@ ref <folder> maildirStore::getDefaultFolder() throw exceptions::illegal_state("Not connected"); return vmime::create <maildirFolder>(folder::path::component("inbox"), - thisWeakRef().dynamicCast <maildirStore>()); + thisRef().dynamicCast <maildirStore>()); } @@ -95,7 +95,7 @@ ref <folder> maildirStore::getFolder(const folder::path& path) throw exceptions::illegal_state("Not connected"); return vmime::create <maildirFolder>(path, - thisWeakRef().dynamicCast <maildirStore>()); + thisRef().dynamicCast <maildirStore>()); } |
