From f4f4c01f4c7361182b18dc3d646dfcc11e346518 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Fri, 19 Aug 2016 22:49:05 +1000 Subject: Remove now unused ID::print method --- libs/pbd/id.cc | 11 ----------- libs/pbd/pbd/id.h | 2 -- 2 files changed, 13 deletions(-) (limited to 'libs/pbd') diff --git a/libs/pbd/id.cc b/libs/pbd/id.cc index 6898da2d12..d507824349 100644 --- a/libs/pbd/id.cc +++ b/libs/pbd/id.cc @@ -20,11 +20,6 @@ #include #include -#ifndef __STDC_FORMAT_MACROS -#define __STDC_FORMAT_MACROS -#endif -#include - #include "pbd/id.h" #include "pbd/string_convert.h" @@ -71,12 +66,6 @@ ID::string_assign (string str) return string_to_uint64 (str, _id); } -void -ID::print (char* buf, uint32_t bufsize) const -{ - snprintf (buf, bufsize, "%" PRIu64, _id); -} - std::string ID::to_s () const { diff --git a/libs/pbd/pbd/id.h b/libs/pbd/pbd/id.h index ca62b10dc2..6c5fcb873e 100644 --- a/libs/pbd/pbd/id.h +++ b/libs/pbd/pbd/id.h @@ -55,8 +55,6 @@ class LIBPBD_API ID { return _id < other._id; } - void print (char* buf, uint32_t bufsize) const; - std::string to_s () const; static uint64_t counter() { return _counter; } -- cgit v1.2.3