fix(norm): remove usage of friend
This commit is contained in:
parent
b4f48cdfb0
commit
dc57ca2395
5 changed files with 15 additions and 9 deletions
|
|
@ -43,11 +43,11 @@ public:
|
|||
|
||||
Fixed abs() const;
|
||||
|
||||
friend std::ostream &operator<<(std::ostream &stream, const Fixed &fixed);
|
||||
|
||||
private:
|
||||
int value;
|
||||
static const int fracbits;
|
||||
};
|
||||
|
||||
std::ostream &operator<<(std::ostream &stream, const Fixed &fixed);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue