X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fanalog.cpp;h=217cdfd742b3e4c84557f87178aee195ba82d5f4;hp=c95fffaf247518454b065ef9775cb5dcab8a2447;hb=efdec55aec1a137460fa362a381ed1904182bfed;hpb=f3d66e52ed6b454ea7a0662d5e6367e230116a2b diff --git a/pv/data/analog.cpp b/pv/data/analog.cpp index c95fffaf..217cdfd7 100644 --- a/pv/data/analog.cpp +++ b/pv/data/analog.cpp @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #include @@ -57,7 +56,7 @@ void Analog::clear() segments_.clear(); } -uint64_t Analog::get_max_sample_count() const +uint64_t Analog::max_sample_count() const { uint64_t l = 0; for (const std::shared_ptr s : segments_) {