~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/discrete_interval.h

  • Committer: Olaf van der Spek
  • Date: 2011-06-22 22:23:29 UTC
  • mto: This revision was merged to the branch mainline in revision 2348.
  • Revision ID: olafvdspek@gmail.com-20110622222329-nnn26zfomy4tsxak
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
      Discrete_interval *new_interval= new Discrete_interval(start, val, incr);
164
164
      return(append(new_interval));
165
165
    }
166
 
    return(0);
 
166
    return 0;
167
167
  }
168
168
 
169
169
  bool append(Discrete_interval *new_interval)
176
176
      tail->next= new_interval;
177
177
    tail= new_interval;
178
178
    elements++;
179
 
    return(0);
 
179
    return 0;
180
180
  }
181
181
 
182
182
};