Remove dead private member variables from gtest.

llvm-svn: 158101
This commit is contained in:
Benjamin Kramer 2012-06-06 20:23:00 +00:00
parent 972a96aede
commit c6e1894cc8
2 changed files with 1 additions and 3 deletions

View File

@ -203,7 +203,6 @@ class GTestFlagSaver {
bool list_tests_; bool list_tests_;
String output_; String output_;
bool print_time_; bool print_time_;
bool pretty_;
internal::Int32 random_seed_; internal::Int32 random_seed_;
internal::Int32 repeat_; internal::Int32 repeat_;
bool shuffle_; bool shuffle_;

View File

@ -102,12 +102,11 @@
// but still find raw_ostream& overloads. // but still find raw_ostream& overloads.
namespace llvm { namespace llvm {
class convertible_fwd_ostream : public std::ostream { class convertible_fwd_ostream : public std::ostream {
std::ostream& os_;
raw_os_ostream ros_; raw_os_ostream ros_;
public: public:
convertible_fwd_ostream(std::ostream& os) convertible_fwd_ostream(std::ostream& os)
: std::ostream(os.rdbuf()), os_(os), ros_(*this) {} : std::ostream(os.rdbuf()), ros_(*this) {}
operator raw_ostream&() { return ros_; } operator raw_ostream&() { return ros_; }
}; };
} }