~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_gearman/logging_gearman.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:
18
18
 */
19
19
 
20
20
#include "config.h"
 
21
 
 
22
#include <boost/scoped_array.hpp>
 
23
 
21
24
#include <drizzled/plugin/logging.h>
22
25
#include <drizzled/gettext.h>
23
26
#include <drizzled/session.h>
227
230
 
228
231
  virtual bool post(Session *session)
229
232
  {
230
 
    std::auto_ptr<char> msgbuf(new char[MAX_MSG_LEN]);
 
233
    boost::scoped_array<char> msgbuf(new char[MAX_MSG_LEN]);
231
234
    int msgbuf_len= 0;
232
235
  
233
236
    assert(session != NULL);