1
0
Fork 0
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:
Ben Burdette 2020-03-25 10:52:03 -06:00
parent fc310eda3a
commit 3582dc3c88
3 changed files with 18 additions and 5 deletions

View file

@ -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;