Skip to content

Commit 6afa20e

Browse files
kkaeferjfirebaugh
authored andcommitted
Add default template argument to UniqueObject and UniqueWeakObject
1 parent cc7ce5c commit 6afa20e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/jni/object.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ namespace jni
2323
template < class TagType >
2424
class ObjectDeleter;
2525

26-
template < class TagType >
26+
template < class TagType = ObjectTag >
2727
using UniqueObject = std::unique_ptr< const Object<TagType>, ObjectDeleter<TagType> >;
2828

2929
template < class TagType >
3030
class WeakObjectRefDeleter;
3131

32-
template < class TagType >
32+
template < class TagType = ObjectTag >
3333
using UniqueWeakObject = std::unique_ptr< const Object<TagType>, WeakObjectRefDeleter<TagType> >;
3434

3535
template < class TheTag = ObjectTag >

0 commit comments

Comments
 (0)