RTEMS | cpukit/librtemscxx: reformat (!995)

Gedare Bloom (@gedare) gitlab at rtems.org
Thu Feb 5 20:33:30 UTC 2026




Gedare Bloom commented on a discussion on cpukit/librtemscxx/error.cpp: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/995#note_141853

 > -    : std::runtime_error(::rtems_status_text(sc)),
 > -      sc(sc)
 > -  {
 > -  }
 > +namespace rtems {
 > +runtime_error::runtime_error(const rtems_status_code sc)
 > +    : std::runtime_error(::rtems_status_text(sc)), sc(sc) {}
 >  
 > -  runtime_error::runtime_error(const rtems_status_code sc,
 > -                               const std::string&      what)
 > -    : std::runtime_error(what + ": " + ::rtems_status_text(sc)),
 > -      sc(sc)
 > -  {
 > -  }
 > +runtime_error::runtime_error(const rtems_status_code sc,
 > +                             const std::string &what)

fixed them both, I think the style files got messed up during the shuffle involving !965

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/995#note_141853
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260205/d2f51964/attachment-0001.htm>


More information about the bugs mailing list