We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3b0b8a commit a9c0b6dCopy full SHA for a9c0b6d
CodeFormatLib/src/Types.h
@@ -2,7 +2,7 @@
2
3
struct LuaConfig {
4
explicit LuaConfig(std::string_view workspace)
5
- : Workspace(workspace), Editorconfig(nullptr) {}
+ : Workspace(workspace), Editorconfig(nullptr) {}
6
7
std::string Workspace;
8
std::shared_ptr<LuaEditorConfig> Editorconfig;
@@ -30,10 +30,10 @@ template<class T>
30
class Result {
31
public:
32
Result(T &&d)
33
- : Data(d) {}
+ : Type(ResultType::Ok), Data(d) {}
34
35
Result(ResultType type)
36
- : Type(type) {}
+ : Type(type) {}
37
38
ResultType Type;
39
T Data;
0 commit comments