Skip to content

Commit

Permalink
Fixes C++ error: no matching function for call
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed May 28, 2023
1 parent b1c1afe commit a53dbe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Array.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ static int GetLowestArrDoubleValue(double& arr[][], int key) {
* - https://www.mql5.com/en/docs/array/arraysize
*/
template <typename X>
static int ArraySize(ARRAY_REF(X, array)) {
static int ArraySize(const ARRAY_REF(X, array)) {
return ::ArraySize(array);
}

Expand Down

0 comments on commit a53dbe7

Please sign in to comment.