Changeset 5251c6b for tests/exceptions


Ignore:
Timestamp:
Dec 20, 2024, 3:11:10 PM (4 weeks ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
d9f6d80
Parents:
b12b1ba
Message:

Changed some inline declarations to static or static inline (which are the same except for intent communication). This makes them more robust to inline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/exceptions/except-io.hfa

    rb12b1ba r5251c6b  
    99};
    1010
    11 inline void ?{}(loud_exit & this, const char * area) {
     11static inline void ?{}(loud_exit & this, const char * area) {
    1212    this.area = area;
    1313}
    1414
    15 inline void ^?{}(loud_exit & this) {
     15static inline void ^?{}(loud_exit & this) {
    1616    sout | "Exiting: " | this.area;
    1717}
     
    2121};
    2222
    23 inline void ?{}(loud_region & this, const char * region) {
     23static inline void ?{}(loud_region & this, const char * region) {
    2424        this.region = region;
    2525        sout | "Entering: " | region;
    2626}
    2727
    28 inline void ^?{}(loud_region & this) {
     28static inline void ^?{}(loud_region & this) {
    2929        sout | "Exiting: " | this.region;
    3030}
Note: See TracChangeset for help on using the changeset viewer.