diff options
author | Marcin Siodelski <marcin@isc.org> | 2014-04-23 20:51:46 +0200 |
---|---|---|
committer | Marcin Siodelski <marcin@isc.org> | 2014-04-23 20:51:46 +0200 |
commit | e9ab3dbcee232a521661bf656189892867aeff99 (patch) | |
tree | 002046103382ec5ca42dd7e5c37960cab0983c8a /src/lib/cc/data.h | |
parent | [3409] Updated Element data structure to hold the file name. (diff) | |
download | kea-e9ab3dbcee232a521661bf656189892867aeff99.tar.xz kea-e9ab3dbcee232a521661bf656189892867aeff99.zip |
[3409] Store position of the data element in the value storage.
Diffstat (limited to 'src/lib/cc/data.h')
-rw-r--r-- | src/lib/cc/data.h | 4 |
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. |