]> sigrok.org Git - pulseview.git/blobdiff - pv/data/analog.cpp
license: remove FSF postal address from boiler plate license text
[pulseview.git] / pv / data / analog.cpp
index c95fffaf247518454b065ef9775cb5dcab8a2447..217cdfd742b3e4c84557f87178aee195ba82d5f4 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
  */
 
 #include <cassert>
@@ -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<AnalogSegment> s : segments_) {