Fix warnings encountered with clang -Wall.

This commit is contained in:
kosak
2013-12-03 23:15:40 +00:00
parent 37b97d1c93
commit 5d83ee08df
3 changed files with 8 additions and 4 deletions

View File

@@ -125,6 +125,7 @@ namespace foo {
class UnprintableInFoo {
public:
UnprintableInFoo() : z_(0) { memcpy(xy_, "\xEF\x12\x0\x0\x34\xAB\x0\x0", 8); }
double z() const { return z_; }
private:
char xy_[8];
double z_;