THRIFT-2729: C++ - .clang-format created and applied
Client: C++
Patch: Konrad Grochowski
make style command added
diff --git a/compiler/cpp/src/parse/t_set.h b/compiler/cpp/src/parse/t_set.h
index d198357..ccfc701 100644
--- a/compiler/cpp/src/parse/t_set.h
+++ b/compiler/cpp/src/parse/t_set.h
@@ -27,17 +27,12 @@
*
*/
class t_set : public t_container {
- public:
- t_set(t_type* elem_type) :
- elem_type_(elem_type) {}
+public:
+ t_set(t_type* elem_type) : elem_type_(elem_type) {}
- t_type* get_elem_type() const {
- return elem_type_;
- }
+ t_type* get_elem_type() const { return elem_type_; }
- bool is_set() const {
- return true;
- }
+ bool is_set() const { return true; }
virtual std::string get_fingerprint_material() const {
return "set<" + elem_type_->get_fingerprint_material() + ">";
@@ -48,7 +43,7 @@
elem_type_->generate_fingerprint();
}
- private:
+private:
t_type* elem_type_;
};