Loki-Astari / ThorsMongo

C++ MongoDB API and BSON/JSON Serialization library
GNU General Public License v3.0
316 stars 71 forks source link

VS 2015 Warnings resolved #22

Closed marnef closed 8 years ago

marnef commented 8 years ago

1) Destructor shall not throw exception 2) Type conversion

Loki-Astari commented 8 years ago

I have manually added the casts. But rather than C-style casts I have used static_cast<>()

I am not willing to remove functionality (just so you can turn a warning off). There is a real issue here. Maybe there is a better way to solve it but removing it from the code base is not the solution.