summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2016-08-19 22:49:05 +1000
committerTim Mayberry <mojofunk@gmail.com>2017-04-19 07:49:58 +1000
commitf4f4c01f4c7361182b18dc3d646dfcc11e346518 (patch)
treeb8faf10aea01bc46e649a8e648fe36479381a583 /libs/pbd
parentfda05ac64bfb4aeb4c6b05753d51d5039dcc6885 (diff)
Remove now unused ID::print method
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/id.cc11
-rw-r--r--libs/pbd/pbd/id.h2
2 files changed, 0 insertions, 13 deletions
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 <ostream>
#include <stdio.h>
-#ifndef __STDC_FORMAT_MACROS
-#define __STDC_FORMAT_MACROS
-#endif
-#include <inttypes.h>
-
#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; }