add header guard

The current implementation does not contain guard and it works well,
but it may lead to problems in the future.

Signed-off-by: Sergii Piatakov <sergii.piatakov@globallogic.com>
This commit is contained in:
Sergii Piatakov 2018-11-15 15:11:37 +02:00
parent 997217087b
commit f03784b6c1
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,10 @@
#ifndef CALCULATOR_H
#define CALCULATOR_H
class Calculator
{
public:
int Add (int, int);
};
#endif//CALCULATOR_H