Skip to content
This repository was archived by the owner on May 1, 2023. It is now read-only.

Commit f1edf45

Browse files
gkmhubfacebook-github-bot
authored andcommitted
Fix assorted C++ nits caught by stricter warnings from clang-5.0
Summary: Offload the gcc-compatible fixes from the diff that cuts-over to building fb4a with clang. Differential Revision: D6525454 fbshipit-source-id: 02ce4d8f84ebbce6a4605f0b64b822e11defe20a
1 parent 5276081 commit f1edf45

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cpp/profiler/BaseTracer.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ class BaseTracer {
2727
ucontext_t* ucontext,
2828
int64_t* frames,
2929
uint8_t& depth,
30-
uint8_t max_depth);
30+
uint8_t max_depth) = 0;
3131

3232
virtual void flushStack(
3333
int64_t* frames,
3434
uint8_t depth,
3535
int tid,
36-
int64_t time_);
36+
int64_t time_) = 0;
3737

38-
virtual void startTracing();
38+
virtual void startTracing() = 0;
3939

40-
virtual void stopTracing();
40+
virtual void stopTracing() = 0;
4141
};
4242

4343
} // namespace profiler

0 commit comments

Comments
 (0)