Commit eeb6dd5d authored by Yoshitaka Aharen's avatar Yoshitaka Aharen
Browse files

[2155] use auto-generated copy constructor

parent 52598eb4
......@@ -79,26 +79,7 @@ public:
///
/// This method never throws an exception.
inline ~ConstIterator() {}
/// The assignment operator.
///
/// This method is mostly exception free. But it may still
/// throw a standard exception if memory allocation fails
/// inside the method.
inline ConstIterator& operator=(const ConstIterator& source) {
iterator_ = source.iterator_;
return (*this);
}
/// The copy constructor.
///
/// This constructor is mostly exception free. But it may still
/// throw a standard exception if memory allocation fails
/// inside the method.
inline ConstIterator(const ConstIterator& source) :
iterator_(source.iterator_)
{}
//
// Constructor from implementation detail DictionaryMap::const_iterator
/// Constructor from implementation detail DictionaryMap::const_iterator
inline ConstIterator(
DictionaryMap::const_iterator iterator) :
iterator_(iterator)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment