Skip to content
Snippets Groups Projects
Commit d06f92c8 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Fixed initialization in lambda example

parent 2956c2a2
Branches
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ public:
Complex_t& operator+=(const Complex_t& other);
bool operator<(const Complex_t& a) const;
private:
T m_r, m_i;
T m_r{}, m_i{};
};
typedef Complex_t<> Complex;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment