Skip to content

Commit

Permalink
Minor formatting updates
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Stone <[email protected]>
  • Loading branch information
jstone-lucasfilm authored Oct 3, 2024
1 parent ff98042 commit 1378e96
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source/MaterialXGenShader/TypeDesc.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ MATERIALX_NAMESPACE_BEGIN
///
class MX_GENSHADER_API TypeDesc
{
public:
public:
enum BaseType
{
BASETYPE_NONE,
Expand Down Expand Up @@ -158,8 +158,7 @@ class MX_GENSHADER_API TypeDesc
/// Create a Value from a string for a given typeDesc
ValuePtr createValueFromStrings(const string& value) const;


private:
private:
/// Simple constexpr hash function, good enough for the small set of short strings that
/// are used for our data type names.
constexpr uint32_t constexpr_hash(std::string_view str, uint32_t n = 0, uint32_t h = 2166136261)
Expand Down

0 comments on commit 1378e96

Please sign in to comment.