summaryrefslogtreecommitdiff
path: root/include/input/InputConsumerNoResampling.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/input/InputConsumerNoResampling.h')
-rw-r--r--include/input/InputConsumerNoResampling.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/input/InputConsumerNoResampling.h b/include/input/InputConsumerNoResampling.h
index 228347d818..2d1714c70a 100644
--- a/include/input/InputConsumerNoResampling.h
+++ b/include/input/InputConsumerNoResampling.h
@@ -141,7 +141,7 @@ private:
}
private:
- std::function<int(int events)> mCallback;
+ const std::function<int(int events)> mCallback;
};
sp<LooperEventCallback> mCallback;
/**