Skip to content

Commit deb896d

Browse files
committed
fix ld warning
1 parent 896207f commit deb896d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/asyncio/handle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ struct Handle {
2727
virtual ~Handle() = default;
2828
private:
2929
virtual const std::source_location& get_frame_info() const {
30-
static std::source_location frame_info = std::source_location::current();
30+
static const std::source_location frame_info = std::source_location::current();
3131
return frame_info;
3232
}
3333
};

0 commit comments

Comments
 (0)