Remove now unused ID::print method
authorTim Mayberry <mojofunk@gmail.com>
Fri, 19 Aug 2016 12:49:05 +0000 (22:49 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Tue, 18 Apr 2017 21:49:58 +0000 (07:49 +1000)
libs/pbd/id.cc
libs/pbd/pbd/id.h

index 6898da2d123177fba4c1d8ee49fcc761ea5644e2..d50782434931ea37fd38fbf2d9ffb05157c60f58 100644 (file)
 #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
 {
index ca62b10dc231540062ba93acccb4cf54178e1a46..6c5fcb873e07b37cd30a003cfa96a56440aefb11 100644 (file)
@@ -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; }