File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed
Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 3939
4040 - name : " Build"
4141 env :
42- JAVA_HOME : ${{ env.JAVA_HOME_21_X64 }}
4342 INCLUDE : C:\msys64\usr\include\w32api
4443 LIB : C:\msys64\usr\lib\w32api
4544 run : |
Original file line number Diff line number Diff line change @@ -201,6 +201,10 @@ struct Order
201201 Volume = model.volume ();
202202 }
203203
204+ // zpp::bits serialization
205+
206+ using serialize = zpp::bits::members<6 >;
207+
204208 // JSON serialization
205209
206210 template <typename OutputStream>
@@ -321,6 +325,10 @@ struct Balance
321325 Amount = model.amount ();
322326 }
323327
328+ // zpp::bits serialization
329+
330+ using serialize = zpp::bits::members<2 >;
331+
324332 // JSON serialization
325333
326334 template <typename OutputStream>
@@ -500,6 +508,10 @@ struct Account
500508 }
501509 }
502510
511+ // zpp::bits serialization
512+
513+ using serialize = zpp::bits::members<4 >;
514+
503515 // JSON serialization
504516
505517 template <typename OutputStream>
@@ -539,11 +551,6 @@ struct Account
539551 }
540552};
541553
542- // zpp::bits serialization
543- auto serialize (const Order&) -> zpp::bits::members<6>;
544- auto serialize (const Balance&) -> zpp::bits::members<2>;
545- auto serialize (const Account&) -> zpp::bits::members<4>;
546-
547554} // namespace Trade
548555
549556#endif // CPPSERIALIZATION_PROTO_TRADE_H
You can’t perform that action at this time.
0 commit comments