sys-prog-coursework-lab-1/patches/0001-formatting-use-tabs-in...

49 lines
1.0 KiB
Diff

From b239ff832843c03fafeef255c21fc586645fa4bd Mon Sep 17 00:00:00 2001
From: Sergii Piatakov <sergii.piatakov@globallogic.com>
Date: Thu, 15 Nov 2018 15:26:35 +0200
Subject: [PATCH] formatting: use tabs instead of spaces
Signed-off-by: Sergii Piatakov <sergii.piatakov@globallogic.com>
---
calculator.cpp | 4 ++--
calculator.h | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/calculator.cpp b/calculator.cpp
index b91afea..f323e14 100644
--- a/calculator.cpp
+++ b/calculator.cpp
@@ -2,10 +2,10 @@
int Calculator::Add (double a, double b)
{
- return a + b;
+ return a + b;
}
int Calculator::Sub (double a, double b)
{
- return Add (a, -b);
+ return Add (a, -b);
}
diff --git a/calculator.h b/calculator.h
index 3740907..d59d596 100644
--- a/calculator.h
+++ b/calculator.h
@@ -3,9 +3,9 @@
class Calculator
{
- public:
- int Add (double, double);
- int Sub (double, double);
+ public:
+ int Add (double, double);
+ int Sub (double, double);
};
#endif//CALCULATOR_H
--
2.43.0