Skip to content

Commit 73a65cd

Browse files
committed
simple ordering fix to avoid gcc warning
1 parent b785ed0 commit 73a65cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/lib/libshm/manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ const int SHUTDOWN_TIMEOUT = 2000; // 2s
2626
struct ClientSession {
2727
ClientSession(ManagerSocket s): socket(std::move(s)), pid(0) {}
2828

29-
pid_t pid;
3029
ManagerSocket socket;
30+
pid_t pid;
3131
};
3232

3333

0 commit comments

Comments
 (0)