Skip to content
Commit bd59adfb authored by Hubert Figuière's avatar Hubert Figuière Committed by Dodji Seketeli
Browse files

Bug 733085 - Remove tr1 since we require C++11



Now that we are using c++11 we can throw tr1 behind us.  We can also
throw many things from boost.  Yay.

	* configure.ac: remove detection of tr1/unordered_map,
	boost/tr1/unordered_map.hpp and tr1/tuple boost/tr1/tuple.hpp.
	* src/common/nmv-log-stream.cc: Include unordered_map directly
	rather than the one from tr1 or unordered_map.
	(__gnu_cxx::hash<std::string>): Remove this string hashing functor
	that is now useless.
	(typedef DomainMap): Adjust.
	* src/dbgengine/nmv-dbg-common.h: Include memory directly rather
	than the one from tr1 or unordered_map.
	(VarChange::m_priv): Adjust the
	shared_ptr type of this data member.
	(typedef VarChangePtr): Adjust.
	* src/langs/nmv-cpp-ast-utils.cc (get_declarator_id_as_string):
	Adjust.
	* src/langs/nmv-cpp-ast.h: Include c++11 memory rather than the
	one from tr1 or unordered_map.  Use std::shared_ptr rather than
	std::tr1::shared_ptr.
	* src/langs/nmv-cpp-parser.cc (Parser::parse_decl_specifier_seq):
	Adjust.
	* src/langs/nmv-cpp-parser.h: Include memory directly rather than
	the one from tr1 or boost.  Use std::shared_ptr rather
	than std::tr1::shared_ptr.
	* src/uicommon/nmv-terminal.cc: Include c++11 tuple rather than
	the one from tr1 or boost.
	(typedef TerminalPrivDataTuple): Adjust.
	(on_button_press_signal): Adjust.

Signed-off-by: default avatarDodji Seketeli <dodji@seketeli.org>
parent 6c3c522d
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