summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-14 23:45:04 +0000
committerDavid Robillard <d@drobilla.net>2012-03-14 23:45:04 +0000
commit618fbe7ad843aed738942b6e5bd87000bb11b53c (patch)
tree8403b9e06b4e9a8e79cd0eebddf65497e111379e
parentf8ca7f3cf6f4a0e967eacfd2e1f9a8ae9625c015 (diff)
downloadingen-618fbe7ad843aed738942b6e5bd87000bb11b53c.tar.gz
ingen-618fbe7ad843aed738942b6e5bd87000bb11b53c.tar.bz2
ingen-618fbe7ad843aed738942b6e5bd87000bb11b53c.zip
Remove silly/slow Quark::c_str() since Quark derives from a string type anyway.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4059 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--include/ingen/shared/URIs.hpp1
-rw-r--r--src/shared/URIs.cpp6
2 files changed, 0 insertions, 7 deletions
diff --git a/include/ingen/shared/URIs.hpp b/include/ingen/shared/URIs.hpp
index 7490526d..27f875fc 100644
--- a/include/ingen/shared/URIs.hpp
+++ b/include/ingen/shared/URIs.hpp
@@ -35,7 +35,6 @@ public:
struct Quark : public Raul::URI {
Quark(const char* str);
- const char* c_str() const;
uint32_t id;
};
diff --git a/src/shared/URIs.cpp b/src/shared/URIs.cpp
index 058049df..1b65f698 100644
--- a/src/shared/URIs.cpp
+++ b/src/shared/URIs.cpp
@@ -42,12 +42,6 @@ URIs::Quark::Quark(const char* c_str)
{
}
-const char*
-URIs::Quark::c_str() const
-{
- return g_quark_to_string(id);
-}
-
#define NS_CTX "http://lv2plug.in/ns/ext/contexts#"
#define NS_INGEN "http://drobilla.net/ns/ingen#"
#define NS_RDF "http://www.w3.org/1999/02/22-rdf-syntax-ns#"