Skip to content

Commit

Permalink
remove trailing semicoli where they're unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaefer committed Dec 21, 2017
1 parent 568aad1 commit f0d4b70
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/jni/array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ namespace jni
UniqueArray<E> Seize(JNIEnv& env, Array<E>&& array)
{
return UniqueArray<E>(PointerToValue<Array<E>>(std::move(array)), ArrayDeleter<E>(env));
};
}


template < class T >
Expand Down
2 changes: 1 addition & 1 deletion include/jni/class.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,5 @@ namespace jni
UniqueClass<TagType> Seize(JNIEnv& env, Class<TagType>&& clazz)
{
return UniqueClass<TagType>(PointerToValue<Class<TagType>>(std::move(clazz)), ClassDeleter<TagType>(env));
};
}
}
6 changes: 3 additions & 3 deletions include/jni/object.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ namespace jni
UniqueObject<TagType> Seize(JNIEnv& env, Object<TagType>&& object)
{
return UniqueObject<TagType>(PointerToValue<Object<TagType>>(std::move(object)), ObjectDeleter<TagType>(env));
};
}

template < class TagType >
class WeakObjectRefDeleter
Expand Down Expand Up @@ -218,7 +218,7 @@ namespace jni
UniqueWeakObject<TagType> SeizeWeakRef(JNIEnv& env, Object<TagType>&& object)
{
return UniqueWeakObject<TagType>(PointerToValue<Object<TagType>>(std::move(object)), WeakObjectRefDeleter<TagType>(env));
};
}

template < class TagType >
class LocalObjectRefDeleter
Expand Down Expand Up @@ -246,7 +246,7 @@ namespace jni
UniqueLocalObject<TagType> SeizeLocalRef(JNIEnv& env, Object<TagType>&& object)
{
return UniqueLocalObject<TagType>(PointerToValue<Object<TagType>>(std::move(object)), LocalObjectRefDeleter<TagType>(env));
};
}


template < class OutTagType, class InTagType >
Expand Down

0 comments on commit f0d4b70

Please sign in to comment.