mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: rename toLabel, toLabelRange classes -> labelOp, labelRangeOp
- make purpose as functors _slightly_ clearer. - base definition removed for stricter enforcement of the specialization requirement.
This commit is contained in:
@ -426,7 +426,7 @@ int main(int argc, char *argv[])
|
||||
auto output = ListOps::create<label>
|
||||
(
|
||||
input,
|
||||
toLabel<int64_t>()
|
||||
labelOp<int64_t>()
|
||||
);
|
||||
Info<< "label (from int64): " << flatOutput(output) << endl;
|
||||
}
|
||||
@ -438,7 +438,7 @@ int main(int argc, char *argv[])
|
||||
auto output = ListOps::create<label>
|
||||
(
|
||||
input,
|
||||
toLabel<int32_t>()
|
||||
labelOp<int32_t>()
|
||||
);
|
||||
Info<< "label (from int32): " << flatOutput(output) << endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user