~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/util/data_ref.h

  • Committer: Olaf van der Spek
  • Date: 2011-07-05 18:15:41 UTC
  • mto: This revision was merged to the branch mainline in revision 2384.
  • Revision ID: olafvdspek@gmail.com-20110705181541-t5gdqo5ilg64jac6
Use boost::to_upper

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
 
61
61
  void assign(const void* b, const void* e)
62
62
  {
63
 
                begin_ = reinterpret_cast<T>(b);
64
 
                end_ = reinterpret_cast<T>(e);
 
63
    begin_ = reinterpret_cast<T>(b);
 
64
    end_ = reinterpret_cast<T>(e);
65
65
  }
66
66
 
67
67
  void assign(const void* b, size_t sz)
68
68
  {
69
 
                begin_ = reinterpret_cast<T>(b);
70
 
                end_ = begin_ + sz;
 
69
    begin_ = reinterpret_cast<T>(b);
 
70
    end_ = begin_ + sz;
71
71
  }
72
72
 
73
73
  T begin() const