~zorba-coders/zorba/bug-1189790

« back to all changes in this revision

Viewing changes to src/store/naive/atomic_items.cpp

  • Committer: Paul J. Lucas
  • Date: 2013-06-25 16:54:34 UTC
  • mfrom: (11502.1.37 zorba)
  • Revision ID: paul@lucasmail.org-20130625165434-b1dvqff1e7o87x5l
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
495
495
{
496
496
  try 
497
497
  {
498
 
    xs_double const doubleValue(theValue.c_str());
 
498
    xs_double const doubleValue(theValue);
499
499
    return GET_FACTORY().createDouble(result, doubleValue);
500
500
  }
501
501
  catch ( std::exception const& ) 
510
510
{
511
511
  try
512
512
  {
513
 
    xs_decimal const decValue(theValue.c_str());
 
513
    xs_decimal const decValue(theValue);
514
514
    return GET_FACTORY().createDecimal(result, decValue);
515
515
  }
516
516
  catch ( std::exception const& )
525
525
{
526
526
  try
527
527
  {
528
 
    xs_integer const intValue(theValue.c_str());
 
528
    xs_integer const intValue(theValue);
529
529
    return GET_FACTORY().createInteger(result, intValue);
530
530
  }
531
531
  catch ( std::exception const& )