~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/user_locks/release_lock.cc

  • Committer: Brian Aker
  • Date: 2010-10-25 23:36:21 UTC
  • mto: This revision was merged to the branch mainline in revision 1879.
  • Revision ID: brian@tangent.org-20101025233621-cyh9te7mijw0al2r
Additional dynamic_cast removal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
 
46
46
  if (result)
47
47
  {
48
 
    user_locks::Storable *list= dynamic_cast<user_locks::Storable *>(getSession().getProperty("user_locks"));
 
48
    user_locks::Storable *list= static_cast<user_locks::Storable *>(getSession().getProperty("user_locks"));
49
49
    assert(list);
50
50
    if (list) // Just in case we ever blow the assert
51
51
      list->erase(Key(getSession().getSecurityContext(), res->c_str()));