Ignore:
Timestamp:
Jun 21, 2023, 9:45:08 PM (8 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
6065281f
Parents:
2de175ce
Message:

change printf to sout

File:
1 edited

Legend:

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

    r2de175ce r3bf9d10  
    22
    33// Echo when a destructor is run and an area/block is left.
     4
     5#include <fstream.hfa>
     6
    47struct loud_exit {
    58    const char * area;
     
    1114
    1215inline void ^?{}(loud_exit & this) {
    13     printf("Exiting: %s\n", this.area);
     16    sout | "Exiting: " | this.area;
    1417}
    1518
     
    2023inline void ?{}(loud_region & this, const char * region) {
    2124        this.region = region;
    22         printf("Entering: %s\n", region);
     25        sout | "Entering: " | region;
    2326}
    2427
    2528inline void ^?{}(loud_region & this) {
    26         printf("Exiting: %s\n", this.region);
     29        sout | "Exiting: " | this.region;
    2730}
Note: See TracChangeset for help on using the changeset viewer.