diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2012-08-29 23:19:09 -0700 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2012-08-29 23:48:58 -0700 |
commit | 38833205e4011a8a318b8dc6809621a89ad9f446 (patch) | |
tree | eb1c8c8a4b9b6a9718b87df5cf13832ba0fecf68 /includes/Output.h | |
parent | 3f1b0920d697afff0f3e938cb7eca0aacfd75a91 (diff) |
Using true C++11 initializers in classes.
Diffstat (limited to 'includes/Output.h')
-rw-r--r-- | includes/Output.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/Output.h b/includes/Output.h index 59d9d67..d771227 100644 --- a/includes/Output.h +++ b/includes/Output.h @@ -16,11 +16,11 @@ class Output : public SeekableHandle { virtual time_t getMTime(); const char * getFName() { return m_fname.to_charp(); } private: - int m_fd; + int m_fd = -1; String m_name; String m_fname; - off_t m_size; - time_t m_mtime; + off_t m_size = -1; + time_t m_mtime = -1; }; }; |