mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #7675 from ethereum/memberInitializeInCodingStyle
Member initialize PODs in CODING_STYLE.md.
This commit is contained in:
commit
7c7cca5f2d
@ -135,12 +135,12 @@ enum class Accuracy
|
|||||||
};
|
};
|
||||||
struct MeanSigma
|
struct MeanSigma
|
||||||
{
|
{
|
||||||
float mean;
|
float mean = 0.0f;
|
||||||
float standardDeviation;
|
float standardDeviation = 1.0f;
|
||||||
};
|
};
|
||||||
double const d = 0;
|
double const d = 0;
|
||||||
int i;
|
int i = 0;
|
||||||
int j;
|
int j = 0;
|
||||||
char* s;
|
char* s;
|
||||||
MeanAndSigma ms meanAndSigma(std::vector<float> const& _v, Accuracy _a);
|
MeanAndSigma ms meanAndSigma(std::vector<float> const& _v, Accuracy _a);
|
||||||
Derived* x = dynamic_cast<Derived*>(base);
|
Derived* x = dynamic_cast<Derived*>(base);
|
||||||
|
Loading…
Reference in New Issue
Block a user