Commit 2fc8b8f6 authored by amitjans's avatar amitjans
Browse files

Fix problem1

parent 88448b16
......@@ -10,7 +10,7 @@ set(CMAKE_CXX_STANDARD 11)
if(CMAKE_CXX_COMPILER_ID MATCHES "(C|c?)lang")
add_compile_options(-Weverything)
else()
add_compile_options(-Wall -Wextra -Wpedantic)
add_compile_options(-Wall -Wextra -Wpedantic -g)
endif()
# add options
......
......@@ -6,5 +6,5 @@ CXX_DEFINES = -DMOVE
CXX_INCLUDES =
CXX_FLAGS = -Wall -Wextra -Wpedantic -std=gnu++11
CXX_FLAGS = -Wall -Wextra -Wpedantic -g -std=gnu++11
No preview for this file type
......@@ -99,7 +99,7 @@ MyIterator<T>& MyIterator<T>::operator++() {
template<typename T>
bool MyIterator<T>::operator!=(MyIterator const iterator) const {
return current_entry_ == iterator.current_entry_;
return current_entry_ != iterator.current_entry_;
}
template<typename T>
......
Supports Markdown
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