/[svn]/linuxsampler/trunk/src/common/Pool.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/Pool.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3547 by schoenebeck, Tue Jul 11 15:50:05 2017 UTC revision 3548 by schoenebeck, Wed Jul 31 09:35:10 2019 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6   *   Copyright (C) 2005 - 2017 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2019 Christian Schoenebeck                       *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 628  class RTList : public RTListBase<T> { Line 628  class RTList : public RTListBase<T> {
628          inline Iterator allocPrepend() {          inline Iterator allocPrepend() {
629              if (pPool->poolIsEmpty()) return RTListBase<T>::end();              if (pPool->poolIsEmpty()) return RTListBase<T>::end();
630              Iterator element = pPool->alloc();              Iterator element = pPool->alloc();
631              prepend(element);              this->prepend(element);
632              #if CONFIG_DEVMODE              #if CONFIG_DEVMODE
633              element.list = this;              element.list = this;
634              #endif // CONFIG_DEVMODE              #endif // CONFIG_DEVMODE

Legend:
Removed from v.3547  
changed lines
  Added in v.3548

  ViewVC Help
Powered by ViewVC