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:
parent
8e227bd7c2
commit
1eab058c56
1 changed files with 2 additions and 2 deletions
|
@ -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 == "-") {
|
||||
|
|
Loading…
Reference in a new issue