Chromium Code Reviews| Index: mojom/mojom_parser/utils/math_utils.go |
| diff --git a/fusl/test/vector.cc b/mojom/mojom_parser/utils/math_utils.go |
| similarity index 65% |
| copy from fusl/test/vector.cc |
| copy to mojom/mojom_parser/utils/math_utils.go |
| index 77b04a305215b38c1acde7d693940283fbaefb0a..6ef74a4856942a9de57b10bcce3a342a33ed9334 100644 |
| --- a/fusl/test/vector.cc |
| +++ b/mojom/mojom_parser/utils/math_utils.go |
| @@ -2,8 +2,11 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#include <vector> |
|
azani
2016/03/21 20:13:04
Why did this used to be C++?
rudominer
2016/03/21 22:35:12
I believe this must be an artifact of the code rev
|
| +package utils |
| -int main(int argc, char** argv) { |
| - std::vector<int> xs(10); |
| +func MaximumUint32(a, b uint32) uint32 { |
| + if a > b { |
| + return a |
| + } |
| + return b |
| } |