Updating the xcode/Samples.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
// Author: preston.jackson@gmail.com (Preston Jackson)
|
||||
// Author: preston.a.jackson@gmail.com (Preston Jackson)
|
||||
//
|
||||
// Google Test - FrameworkSample
|
||||
// widget.cc
|
||||
@@ -42,7 +42,7 @@ Widget::Widget(int number, const std::string& name)
|
||||
name_(name) {}
|
||||
|
||||
Widget::~Widget() {}
|
||||
|
||||
|
||||
float Widget::GetFloatValue() const {
|
||||
return number_;
|
||||
}
|
||||
@@ -50,7 +50,7 @@ float Widget::GetFloatValue() const {
|
||||
int Widget::GetIntValue() const {
|
||||
return static_cast<int>(number_);
|
||||
}
|
||||
|
||||
|
||||
std::string Widget::GetStringValue() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user