~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/util/data_ref.h

  • Committer: Mark Atwood
  • Date: 2011-10-27 05:08:12 UTC
  • mfrom: (2445.1.11 rf)
  • Revision ID: me@mark.atwood.name-20111027050812-1icvs72lb0u4xdc4
mergeĀ lp:~olafvdspek/drizzle/refactor8

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)