Skip to content

Commit 040b0d6

Browse files
authored
template typo lol
1 parent 4edb493 commit 040b0d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cppjson/include/cppjson/object.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ namespace cppjson
9898
}
9999

100100
ObjectProxy operator[](const std::string& key);
101-
tempalte <std::size_t N>
101+
template <std::size_t N>
102102
ObjectProxy operator[](const char(&key)[N]) { return (*this)[std::string{key}]; }
103103
private:
104104
std::reference_wrapper<JsonObject> _object;

0 commit comments

Comments
 (0)