summaryrefslogtreecommitdiffstats
path: root/src/lib/cc/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cc/data.h')
-rw-r--r--src/lib/cc/data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/cc/data.h b/src/lib/cc/data.h
index d77d37d193..44832188bc 100644
--- a/src/lib/cc/data.h
+++ b/src/lib/cc/data.h
@@ -98,6 +98,10 @@ public:
uint32_t line_; ///< Line number.
uint32_t pos_; ///< Position within the line.
+ /// \brief Default constructor.
+ Position() : file_(""), line_(0), pos_(0) {
+ }
+
/// \brief Constructor.
///
/// \param file File name.