I updated it to throw.


On Wed, May 14, 2014 at 11:38 AM, Matthew Gidden
<notifications@github.com>wrote:

> In src/sqlite_back.cc:
>
> >    }
> > -}
> > -
> > -void SqliteBack::WriteDatum(Datum* d) {
> > -  Datum::Vals vals = d->vals();
> > -  SqlStatement::Ptr stmt = stmts_[d->title()];
> > -  std::map<const char*, int> index = field_order_[d->title()];
> > -
> > -  for (int i = 0; i < vals.size(); ++i) {
> > -    boost::spirit::hold_any v = vals[i].second;
> > -    Bind(v, stmt, index[vals[i].first]);
> > +  default: {}// templated type
>
> should this fail more loudly?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/cyclus/cyclus/pull/840/files#r12646329>
> .
>