1
0
Fork 0
mirror of https://gitlab.com/mfocko/LeetCode.git synced 2024-09-07 20:16:57 +02:00

style(cpp): reformat

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2024-05-17 18:12:29 +02:00
parent 8e227bd7c2
commit 1eab058c56
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -4,8 +4,8 @@
#include <vector>
class Solution {
static auto get_function(const std::string &op)
-> std::function<int(int, int)> {
static auto
get_function(const std::string &op) -> std::function<int(int, int)> {
if (op == "+") {
return std::plus<int>{};
} else if (op == "-") {