Skip to content

Commit 8278fa7

Browse files
authored
Make conversion from IRI to DatatypeIDView public (#419)
1 parent 00b4683 commit 8278fa7

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/rdf4cpp/IRI.hpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,17 @@ struct IRI : Node {
1717
* it does not exist already.
1818
*/
1919
IRI(datatypes::registry::DatatypeIDView id, storage::DynNodeStoragePtr node_storage) noexcept;
20-
20+
21+
public:
2122
/**
2223
* Constructs the corresponding datatype id for this iri. Return value can be safely used to
2324
* index the registry and yields the correct result.
2425
*/
25-
explicit operator datatypes::registry::DatatypeIDView() const noexcept;
26+
operator datatypes::registry::DatatypeIDView() const noexcept;
2627

27-
public:
28+
/**
29+
* Constructs an IRI from a node backend handle
30+
*/
2831
explicit IRI(storage::identifier::NodeBackendHandle handle) noexcept;
2932

3033
/**

0 commit comments

Comments
 (0)