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:
parent
997217087b
commit
f03784b6c1
|
@ -1,5 +1,10 @@
|
|||
#ifndef CALCULATOR_H
|
||||
#define CALCULATOR_H
|
||||
|
||||
class Calculator
|
||||
{
|
||||
public:
|
||||
int Add (int, int);
|
||||
};
|
||||
|
||||
#endif//CALCULATOR_H
|
||||
|
|
Loading…
Reference in New Issue