style(cpp): reformat
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
8e227bd7c2
commit
1eab058c56
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
class Solution {
|
class Solution {
|
||||||
static auto get_function(const std::string &op)
|
static auto
|
||||||
-> std::function<int(int, int)> {
|
get_function(const std::string &op) -> std::function<int(int, int)> {
|
||||||
if (op == "+") {
|
if (op == "+") {
|
||||||
return std::plus<int>{};
|
return std::plus<int>{};
|
||||||
} else if (op == "-") {
|
} else if (op == "-") {
|
||||||
|
|
Loading…
Reference in a new issue