Skip to content

Commit

Permalink
Fix spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
megabyde committed May 16, 2024
1 parent 11633a4 commit a8c50d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Smart Home Refactoring C++ Kata

[![CI](https://github.com/Coding-Cuddles/smart-home-refactoring-cpp-kata/actions/workflows/main.yml/badge.svg)](https://github.com/Coding-Cuddles/smart-home-refactoring-cpp-kata/actions/workflows/main.yml)
[![Replit](https://replit.com/badge?caption=Try%20with%20Replit&variant=small)](https://replit.com/new/github/Coding-Cuddles/smart-home-refactoring-cpp-kata)
[![Replit](https://img.shields.io/badge/Try%20with%20Replit-black?logo=replit)](https://replit.com/new/github/Coding-Cuddles/smart-home-refactoring-cpp-kata)

## Overview

Expand Down
5 changes: 2 additions & 3 deletions smart_home.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <iostream>
#include <string>
#include <vector>

Expand Down Expand Up @@ -33,9 +32,9 @@ struct AirConditioner {
std::string turn_on() { return "AC turned on"; }
std::string turn_off() { return "AC turned off"; }

std::string set_temperature(int temperature_in_celcius)
std::string set_temperature(int temperature_in_celsius)
{
return "Set temperature to " + std::to_string(temperature_in_celcius);
return "Set temperature to " + std::to_string(temperature_in_celsius);
}
};

Expand Down

0 comments on commit a8c50d3

Please sign in to comment.