~michihenning/storage-framework/no-exception-on-unknown-metadata

« back to all changes in this revision

Viewing changes to src/qt/client/Root.cpp

  • Committer: Michi Henning
  • Date: 2016-08-10 06:45:41 UTC
  • mfrom: (10.10.15 more-coverage)
  • Revision ID: michi.henning@canonical.com-20160810064541-ty9vzh6dff8jgfpw
Merged lp:~michihenning/storage-framework/more-coverage:
Improved coverage. Better error reporting/handling.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
{
31
31
 
32
32
using namespace internal;
 
33
using namespace std;
33
34
 
34
35
Root::Root(RootBase* p)
35
36
    : Folder(p)
38
39
 
39
40
Root::~Root() = default;
40
41
 
41
 
Account* Root::account() const
 
42
shared_ptr<Account> Root::account() const
42
43
{
43
44
    return dynamic_cast<RootBase*>(p_.get())->account();
44
45
}