Browse Source

Fixed typo in Description::stringToType()

Paul-Louis Ageneau 4 years ago
parent
commit
40bed4e740
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/description.cpp

+ 1 - 1
src/description.cpp

@@ -778,7 +778,7 @@ Description::Type Description::stringToType(const string &typeString) {
 	using TypeMap_t = std::unordered_map<string, Type>;
 	static const TypeMap_t TypeMap = {{"unspec", Type::Unspec},
 	                                  {"offer", Type::Offer},
-	                                  {"answer", Type::Pranswer},
+	                                  {"answer", Type::Answer},
 	                                  {"pranswer", Type::Pranswer},
 	                                  {"rollback", Type::Rollback}};
 	auto it = TypeMap.find(typeString);