~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-10-24 17:33:01 UTC
  • mto: This revision was merged to the branch mainline in revision 2449.
  • Revision ID: olafvdspek@gmail.com-20111024173301-f388y1q50dg75nsr
Use str_ref

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
  template <class U>
35
35
  data_ref_basic(const U& c)
36
36
  {
37
 
    if (c.begin() == c.end())
38
 
      clear();
39
 
    else
40
 
      assign(&*c.begin(), &*c.end());
 
37
    assign(&*c.begin(), &*c.end());
41
38
  }
42
39
 
43
40
  data_ref_basic(const void* b, const void* e)