diff options
Diffstat (limited to 'src/google/call_stack.h')
-rw-r--r-- | src/google/call_stack.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/google/call_stack.h b/src/google/call_stack.h index 6e8f5f13..f51d0ca7 100644 --- a/src/google/call_stack.h +++ b/src/google/call_stack.h @@ -64,6 +64,9 @@ class CallStack { // Stackwalker is responsible for building the frames_ vector. friend class Stackwalker; + // Disallow instantiation other than by friends. + CallStack() : frames_() {} + // Storage for pushed frames. vector<StackFrame*> frames_; }; |