mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-21 13:53:11 -07:00
remove an assertion
This commit is contained in:
parent
d3f9bc0363
commit
39be08c0db
1 changed files with 0 additions and 5 deletions
|
@ -55,11 +55,6 @@ namespace // put the utils within this TU
|
|||
{
|
||||
static auto enabled = []
|
||||
{
|
||||
if (CurrentUserId == nullptr)
|
||||
{
|
||||
throw std::logic_error{ "SetCurrentUser must be invoked at least once." };
|
||||
}
|
||||
|
||||
auto user = User::GetFromId(CurrentUserId);
|
||||
if (user == nullptr)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue