Design mode code comments are changed to English

https://github.com/huihut/interview/pull/73
This commit is contained in:
huihut
2020-12-16 16:07:24 +08:00
parent 8fe5157ae3
commit 3a9e2123aa
21 changed files with 78 additions and 78 deletions

View File

@@ -5,11 +5,11 @@
#ifndef DESIGNPATTERN_OBSERVER_H
#define DESIGNPATTERN_OBSERVER_H
// 抽象观察者
// Abstract observer
class IObserver
{
public:
virtual void Update(float price) = 0; // 更新价格
virtual void Update(float price) = 0; // Update price
};
#endif //DESIGNPATTERN_OBSERVER_H