summaryrefslogtreecommitdiff
path: root/libs/hwui/thread/Future.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/thread/Future.h')
-rw-r--r--libs/hwui/thread/Future.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/libs/hwui/thread/Future.h b/libs/hwui/thread/Future.h
index 177eebd9b85f..45f3102492e3 100644
--- a/libs/hwui/thread/Future.h
+++ b/libs/hwui/thread/Future.h
@@ -24,11 +24,12 @@
namespace android {
namespace uirenderer {
-template<typename T>
-class Future: public LightRefBase<Future<T> > {
+template <typename T>
+class Future : public LightRefBase<Future<T> > {
public:
- explicit Future(Condition::WakeUpType type = Condition::WAKE_UP_ONE): mBarrier(type), mResult() { }
- ~Future() { }
+ explicit Future(Condition::WakeUpType type = Condition::WAKE_UP_ONE)
+ : mBarrier(type), mResult() {}
+ ~Future() {}
/**
* Returns the result of this future, blocking if
@@ -52,7 +53,7 @@ private:
T mResult;
};
-}; // namespace uirenderer
-}; // namespace android
+}; // namespace uirenderer
+}; // namespace android
-#endif // ANDROID_HWUI_FUTURE_H
+#endif // ANDROID_HWUI_FUTURE_H