Skip to content

Commit

Permalink
Merge branch 'shad0wshayd3-FO4:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
FalloutCascadia authored Dec 10, 2024
2 parents 73753ec + 90312ad commit 0a2d0e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main_ci_xmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
xmake-version: "latest"

- name: Configure
run: xmake config -y --mode=${{ matrix.mode }} --vs_toolset=14.41
run: xmake config -y --mode=${{ matrix.mode }} --vs_toolset=14

- name: Build
run: xmake build -y -vD
4 changes: 4 additions & 0 deletions CommonLibF4/include/REX/REX/Setting.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ namespace REX

void SetValue(T a_value) { m_value = a_value; }

public:
operator T&() { return m_value; }
operator const T&() const { return m_value; }

protected:
T m_value;
T m_valueDefault;
Expand Down

0 comments on commit 0a2d0e4

Please sign in to comment.