Perhaps a more important issue is to understand why a default constructor is needed here.
From the std::map reference material on this site:
If k does not match the key of any element in the container, the function inserts a new element with that key and returns a reference to its mapped value. Notice that this always increases the container size by one, even if no mapped value is assigned to the element (the element is constructed using its default constructor).
At line 13 you could, potentially, be creating a new element in the map, and since you're not assigning any value to it, a default constructor is required.