~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/user_locks/release_barrier.cc

Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include "config.h"
22
 
#include "plugin/user_locks/module.h"
23
 
#include "plugin/user_locks/barrier_storage.h"
 
21
#include <config.h>
 
22
#include <plugin/user_locks/module.h>
 
23
#include <plugin/user_locks/barrier_storage.h>
24
24
 
25
25
#include <string>
26
26
 
48
48
  default:
49
49
  case barriers::SUCCESS:
50
50
    {
51
 
      Storable *list= static_cast<Storable *>(getSession().getProperty(property_key));
 
51
      Storable *list= getSession().getProperty<Storable>(property_key);
52
52
      assert(list);
53
53
      if (not list) // We should have been the owner if it was passed to us, this should never happen
54
54
      {