diff options
author | José Fonseca <jose.r.fonseca@gmail.com> | 2013-04-23 14:02:42 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2013-04-23 14:05:46 +0100 |
commit | 4bfcd90edeba7775e4572bd6ff7454291603277c (patch) | |
tree | 78e651146613499f53f81fc1b1b66ad53219c9fa /cli | |
parent | 97893a2c6203efd9c43e23da2eecb632538cd18b (diff) |
Move default argument to declaration.
Fixes clang warning "addition of default argument on redeclaration makes
this constructor a default constructor".
Diffstat (limited to 'cli')
-rw-r--r-- | cli/trace_analyzer.cpp | 2 | ||||
-rw-r--r-- | cli/trace_analyzer.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/trace_analyzer.cpp b/cli/trace_analyzer.cpp index 803c81cd..36058cf5 100644 --- a/cli/trace_analyzer.cpp +++ b/cli/trace_analyzer.cpp @@ -715,7 +715,7 @@ TraceAnalyzer::requireDependencies(trace::Call *call) consume("state"); } -TraceAnalyzer::TraceAnalyzer(TrimFlags trimFlagsOpt = -1): +TraceAnalyzer::TraceAnalyzer(TrimFlags trimFlagsOpt): transformFeedbackActive(false), framebufferObjectActive(false), insideBeginEnd(false), diff --git a/cli/trace_analyzer.hpp b/cli/trace_analyzer.hpp index ef89ad7a..4610701d 100644 --- a/cli/trace_analyzer.hpp +++ b/cli/trace_analyzer.hpp @@ -95,7 +95,7 @@ private: void requireDependencies(trace::Call *call); public: - TraceAnalyzer(TrimFlags trimFlags); + TraceAnalyzer(TrimFlags trimFlags = -1); ~TraceAnalyzer(); /* Analyze this call by tracking state and recording all the |