~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/errmsg_notify/errmsg_notify.cc

  • Committer: Monty Taylor
  • Date: 2010-11-08 18:26:08 UTC
  • mto: This revision was merged to the branch mainline in revision 1931.
  • Revision ID: mordred@inaugust.com-20101108182608-lci86acl7r53sbi3
Replaced auto_ptr with scoped_ptr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <stdarg.h>  /* for va_list */
24
24
#include <unistd.h>  /* for write(2) */
25
25
#include <libnotifymm.h>
 
26
#include <boost/scoped_ptr.hpp>
26
27
 
27
28
#include <string>
28
29
#include <vector>
73
74
    {
74
75
      if (!n.show())
75
76
#else
76
 
      auto_ptr<Glib::Error> error;
 
77
      boost::scoped_ptr<Glib::Error> error;
77
78
      if (!n.show(error))
78
79
#endif
79
80
      {