diff options
author | Steven Moreland <smoreland@google.com> | 2018-10-15 10:58:16 -0700 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2018-10-16 12:59:30 -0700 |
commit | daea4604c2e68019c75bd0e4486a88c4c7857fff (patch) | |
tree | 202baf87d915b6d235b5c3c131c1aefc15de9ea1 | |
parent | 20403620348805fac031ba7b0a6b32aa06a4a856 (diff) | |
download | native-daea4604c2e68019c75bd0e4486a88c4c7857fff.tar.gz |
libbinder_ndk: formatting
Missed clang-format.
Bug: N/A
Test: N/A
Change-Id: Iadd9fe8a67b01e4fc5aff6f176cbfcb66501ccc3
-rw-r--r-- | libs/binder/ndk/include_ndk/android/binder_interface_utils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/binder/ndk/include_ndk/android/binder_interface_utils.h b/libs/binder/ndk/include_ndk/android/binder_interface_utils.h index 1a9018aea7..e37c388132 100644 --- a/libs/binder/ndk/include_ndk/android/binder_interface_utils.h +++ b/libs/binder/ndk/include_ndk/android/binder_interface_utils.h @@ -42,8 +42,8 @@ namespace ndk { /** * analog using std::shared_ptr for internally held refcount * - * ref must be called at least one time during the lifetime of this object. The recommended way to construct - * this object is with SharedRefBase::make. + * ref must be called at least one time during the lifetime of this object. The recommended way to + * construct this object is with SharedRefBase::make. */ class SharedRefBase { public: @@ -77,7 +77,7 @@ public: /** * Convenience method for making an object directly with a reference. */ - template<class T, class... Args> + template <class T, class... Args> static std::shared_ptr<T> make(Args&&... args) { T* t = new T(std::forward<Args>(args)...); return t->template ref<T>(); |