summaryrefslogtreecommitdiffstats
path: root/src/URIs.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-19 16:01:07 +0200
committerDavid Robillard <d@drobilla.net>2020-08-01 11:50:43 +0200
commit381c4a77fe5864cd3aed3854b75acf2a52f6a74d (patch)
treee12c428f00b141015c2ad982354fa2fa0f51ddf5 /src/URIs.cpp
parent62cc04f4a703f034cbf81e19b26797e6271801ae (diff)
downloadingen-381c4a77fe5864cd3aed3854b75acf2a52f6a74d.tar.gz
ingen-381c4a77fe5864cd3aed3854b75acf2a52f6a74d.tar.bz2
ingen-381c4a77fe5864cd3aed3854b75acf2a52f6a74d.zip
Add explicit accessors to Quark
Diffstat (limited to 'src/URIs.cpp')
-rw-r--r--src/URIs.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/URIs.cpp b/src/URIs.cpp
index dfe6b867..f0252e73 100644
--- a/src/URIs.cpp
+++ b/src/URIs.cpp
@@ -41,21 +41,21 @@ URIs::Quark::Quark(Forge& forge,
LilvWorld* lworld,
const char* str)
: URI(str)
- , urid(forge.make_urid(URI(str)))
- , uri(forge.alloc_uri(str))
- , lnode(lilv_new_uri(lworld, str))
+ , _urid_atom(forge.make_urid(URI(str)))
+ , _uri_atom(forge.alloc_uri(str))
+ , _lilv_node(lilv_new_uri(lworld, str))
{}
URIs::Quark::Quark(const Quark& copy)
: URI(copy)
- , urid(copy.urid)
- , uri(copy.uri)
- , lnode(lilv_node_duplicate(copy.lnode))
+ , _urid_atom(copy._urid_atom)
+ , _uri_atom(copy._uri_atom)
+ , _lilv_node(lilv_node_duplicate(copy._lilv_node))
{}
URIs::Quark::~Quark()
{
- lilv_node_free(lnode);
+ lilv_node_free(_lilv_node);
}
#define NS_RDF "http://www.w3.org/1999/02/22-rdf-syntax-ns#"