vvim / routetool

Using Google Maps API to add locations and calculate the shortest route by Traveling Salesman Algorithm
1 stars 0 forks source link

Why is "Configuration c" a pointer? #13

Open vvim opened 9 years ago

vvim commented 9 years ago

see 1263b5f48275d8d233e4aa5014579155731af4c0

Why not directly make it into:

    Configuration c;
    c.show();

So that we do not have memoryleaks?