Skip to content

Commit

Permalink
fixed -Wdocumentation warning
Browse files Browse the repository at this point in the history
Summary:
fixed
warning: parameter 'ref' not found in the function declaration [-Wdocumentation]

Differential Revision: D48782622

fbshipit-source-id: a22ecb8c75468862743adb674e17ab44e8b28635
  • Loading branch information
Max Kareta authored and facebook-github-bot committed Aug 30, 2023
1 parent 4e00822 commit 52a14f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cxx/fbjni/detail/References.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ struct ReprStorage {
*/
template <typename T>
enable_if_t<IsNonWeakReference<T>(), local_ref<plain_jni_reference_t<T>>>
make_local(const T& r);
make_local(const T& ref);

/**
* Create a new global reference from an existing reference
Expand All @@ -288,7 +288,7 @@ make_local(const T& r);
*/
template <typename T>
enable_if_t<IsNonWeakReference<T>(), global_ref<plain_jni_reference_t<T>>>
make_global(const T& r);
make_global(const T& ref);

/**
* Create a new weak global reference from an existing reference
Expand All @@ -299,7 +299,7 @@ make_global(const T& r);
*/
template <typename T>
enable_if_t<IsNonWeakReference<T>(), weak_ref<plain_jni_reference_t<T>>>
make_weak(const T& r);
make_weak(const T& ref);

/**
* Compare two references to see if they refer to the same object
Expand Down

0 comments on commit 52a14f0

Please sign in to comment.