@@ -9,72 +9,72 @@ class Array2DTracer : public Tracer {
99 }
1010
1111 Array2DTracer set (json array2d) {
12- addTrace (key, " set" , json::array ( {array2d}) );
12+ addTrace (key, " set" , {array2d});
1313 return *this ;
1414 }
1515
1616 Array2DTracer set () {
17- addTrace (key, " set" , json::array ({}) );
17+ addTrace (key, " set" , {} );
1818 return *this ;
1919 }
2020
2121 Array2DTracer reset () {
22- addTrace (key, " reset" , json::array ({}) );
22+ addTrace (key, " reset" , {} );
2323 return *this ;
2424 }
2525
2626 Array2DTracer delay () {
27- addTrace (key, " delay" , json::array ({}) );
27+ addTrace (key, " delay" , {} );
2828 return *this ;
2929 }
3030
3131 Array2DTracer patch (json x, json y, json v) {
32- addTrace (key, " patch" , json::array ( {x, y, v}) );
32+ addTrace (key, " patch" , {x, y, v});
3333 return *this ;
3434 }
3535
3636 Array2DTracer depatch (json x, json y) {
37- addTrace (key, " depatch" , json::array ( {x, y}) );
37+ addTrace (key, " depatch" , {x, y});
3838 return *this ;
3939 }
4040
4141 Array2DTracer select (json x, json y) {
42- addTrace (key, " select" , json::array ( {x, y}) );
42+ addTrace (key, " select" , {x, y});
4343 return *this ;
4444 }
4545
4646 Array2DTracer select (json sx, json sy, json ex, json ey) {
47- addTrace (key, " select" , json::array ( {sx, sy, ex, ey}) );
47+ addTrace (key, " select" , {sx, sy, ex, ey});
4848 return *this ;
4949 }
5050
5151 Array2DTracer selectRow (json x, json sy, json ey) {
52- addTrace (key, " selectRow" , json::array ( {x, sy, ey}) );
52+ addTrace (key, " selectRow" , {x, sy, ey});
5353 return *this ;
5454 }
5555
5656 Array2DTracer selectCol (json y, json sx, json ex) {
57- addTrace (key, " selectCol" , json::array ( {y, sx, ex}) );
57+ addTrace (key, " selectCol" , {y, sx, ex});
5858 return *this ;
5959 }
6060
6161 Array2DTracer deselect (json x, json y) {
62- addTrace (key, " deselect" , json::array ( {x, y}) );
62+ addTrace (key, " deselect" , {x, y});
6363 return *this ;
6464 }
6565
6666 Array2DTracer deselect (json sx, json sy, json ex, json ey) {
67- addTrace (key, " deselect" , json::array ( {sx, sy, ex, ey}) );
67+ addTrace (key, " deselect" , {sx, sy, ex, ey});
6868 return *this ;
6969 }
7070
7171 Array2DTracer deselectRow (json x, json sy, json ey) {
72- addTrace (key, " deselectRow" , json::array ( {x, sy, ey}) );
72+ addTrace (key, " deselectRow" , {x, sy, ey});
7373 return *this ;
7474 }
7575
7676 Array2DTracer deselectCol (json y, json sx, json ex) {
77- addTrace (key, " deselectCol" , json::array ( {y, sx, ex}) );
77+ addTrace (key, " deselectCol" , {y, sx, ex});
7878 return *this ;
7979 }
8080};
0 commit comments