/src/aspell/common/can_have_error.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | // This file is part of The New Aspell |
2 | | // Copyright (C) 2001 by Kevin Atkinson under the GNU LGPL license |
3 | | // version 2.0 or 2.1. You should have received a copy of the LGPL |
4 | | // license along with this library if you did not you can find |
5 | | // it at http://www.gnu.org/. |
6 | | |
7 | | #include "error.hpp" |
8 | | #include "can_have_error.hpp" |
9 | | |
10 | | namespace acommon { |
11 | | |
12 | | CanHaveError::CanHaveError(Error * e) |
13 | | : err_(e) |
14 | 13.0k | {} |
15 | | |
16 | | CanHaveError::~CanHaveError() |
17 | 13.0k | {} |
18 | | |
19 | | CanHaveError::CanHaveError(const CanHaveError & other) |
20 | 0 | : err_(other.err_) {} |
21 | | |
22 | | |
23 | | CanHaveError & CanHaveError::operator=(const CanHaveError & other) |
24 | 0 | { |
25 | 0 | err_ = other.err_; |
26 | 0 | return *this; |
27 | 0 | } |
28 | | |
29 | | |
30 | | } |