Added missing noSideEffect pragma

This commit is contained in:
A. S. Budden 2016-06-02 10:25:51 +01:00
commit d16f864b7b

View file

@ -1488,7 +1488,7 @@ type
proc formatSize*(bytes: int64,
decimalSep = '.',
prefix = bpIEC,
includeSpace = false): string =
includeSpace = false): string {.noSideEffect.} =
## Rounds and formats `bytes`.
##
## By default, uses the IEC/ISO standard binary prefixes, so 1024 will be