Fixed potential reference bug in CodFileBuilder constructor
commitb97fcff66055c7a80230efab695e9c2fb666780b
authorChris Frey <cdfrey@foursquare.net>
Fri, 20 Feb 2009 04:09:22 +0000 (19 23:09 -0500)
committerChris Frey <cdfrey@foursquare.net>
Fri, 20 Feb 2009 04:09:22 +0000 (19 23:09 -0500)
tree73407699fb034c3dfab5997c734e360422647ad1
parent07450de4f5a3b04ab7e857ed88056f22dd436d7e
Fixed potential reference bug in CodFileBuilder constructor

It is possible that the const std::string& passed into the constructor
is a temporary, so make a copy of it instead of just holding a reference.
src/cod.h