This is an automated email from the ASF dual-hosted git repository.
jamesge pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git
The following commit(s) were added to refs/heads/master by this push:
new 3a928dd Fix build break for clang 10.0.1
new a4e28d6 Merge pull request #1261 from thanksunix/clang-build
3a928dd is described below
commit 3a928ddbad1e2f2bc7106f8ca8eddec7bfd435d6
Author: shuyan.ycf <[email protected]>
AuthorDate: Wed Sep 30 11:44:30 2020 +0800
Fix build break for clang 10.0.1
---
src/bvar/scoped_timer.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bvar/scoped_timer.h b/src/bvar/scoped_timer.h
index 4f349f2..159c3ee 100644
--- a/src/bvar/scoped_timer.h
+++ b/src/bvar/scoped_timer.h
@@ -51,7 +51,7 @@ public:
private:
DISALLOW_COPY_AND_ASSIGN(ScopedTimer);
- const int64_t _start_time;
+ int64_t _start_time;
T* _bvar;
};
} // namespace bvar
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]