mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
programName as static member var
This commit is contained in:
parent
fc310eda3a
commit
3582dc3c88
3 changed files with 18 additions and 5 deletions
|
@ -5,11 +5,15 @@
|
|||
|
||||
using std::optional;
|
||||
using std::nullopt;
|
||||
using std::cout;
|
||||
using std::endl;
|
||||
|
||||
int main() {
|
||||
|
||||
using namespace nix;
|
||||
|
||||
ErrorInfo::programName = optional("errorTest");
|
||||
|
||||
/*
|
||||
ColumnRange columnRange;
|
||||
columnRange.start = 24;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue