comparison OrthancServer/OrthancRestApi/OrthancRestResources.cpp @ 2836:7133ad478eea

fix Debian warnings
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Sep 2018 16:17:46 +0200
parents d88970f1ffbf
children ae8e72009e64
comparison
equal deleted inserted replaced
2831:b51233f03e7e 2836:7133ad478eea
474 unsigned int frame; 474 unsigned int frame;
475 try 475 try
476 { 476 {
477 frame = boost::lexical_cast<unsigned int>(frameId); 477 frame = boost::lexical_cast<unsigned int>(frameId);
478 } 478 }
479 catch (boost::bad_lexical_cast) 479 catch (boost::bad_lexical_cast&)
480 { 480 {
481 return; 481 return;
482 } 482 }
483 483
484 bool invert = false; 484 bool invert = false;
582 unsigned int frame; 582 unsigned int frame;
583 try 583 try
584 { 584 {
585 frame = boost::lexical_cast<unsigned int>(frameId); 585 frame = boost::lexical_cast<unsigned int>(frameId);
586 } 586 }
587 catch (boost::bad_lexical_cast) 587 catch (boost::bad_lexical_cast&)
588 { 588 {
589 return; 589 return;
590 } 590 }
591 591
592 std::string publicId = call.GetUriComponent("id", ""); 592 std::string publicId = call.GetUriComponent("id", "");
616 unsigned int frame; 616 unsigned int frame;
617 try 617 try
618 { 618 {
619 frame = boost::lexical_cast<unsigned int>(frameId); 619 frame = boost::lexical_cast<unsigned int>(frameId);
620 } 620 }
621 catch (boost::bad_lexical_cast) 621 catch (boost::bad_lexical_cast&)
622 { 622 {
623 return; 623 return;
624 } 624 }
625 625
626 std::string publicId = call.GetUriComponent("id", ""); 626 std::string publicId = call.GetUriComponent("id", "");