Skip to content

Commit

Permalink
More compile-time strings
Browse files Browse the repository at this point in the history
  • Loading branch information
oblivioncth committed Jul 23, 2023
1 parent abd460d commit a53c549
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ endif()

include(OB/FetchQx)
ob_fetch_qx(
REF "6812df5c1fe1c584a9dfa0ded76db8727ca059b5"
REF "a6f65d5ea4cf49c7be64d2c4ea2b53a41171730f"
COMPONENTS
${CLIFP_QX_COMPONENTS}
)
Expand Down
2 changes: 1 addition & 1 deletion app/src/command/c-run.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Qx::Error CRun::perform()
if(Qx::Error ee = mCore.enqueueStartupTasks(); ee.isValid())
return ee;

QString inputPath = mCore.resolveTrueAppPath(mParser.value(CL_OPTION_APP), ""); // No way of knowing platform
QString inputPath = mCore.resolveTrueAppPath(mParser.value(CL_OPTION_APP), u""_s); // No way of knowing platform
QFileInfo inputInfo = QFileInfo(mCore.fpInstall().fullPath() + '/' + inputPath);

TExec* runTask = new TExec(&mCore);
Expand Down
2 changes: 1 addition & 1 deletion app/src/task/task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Task::Task(QObject* parent) :

//-Instance Functions-------------------------------------------------------------
//Public:
QStringList Task::members() const { return {".stage() = " + ENUM_NAME(mStage)}; }
QStringList Task::members() const { return {u".stage() = "_s + ENUM_NAME(mStage)}; }

Task::Stage Task::stage() const { return mStage; }
void Task::setStage(Stage stage) { mStage = stage; }
Expand Down

0 comments on commit a53c549

Please sign in to comment.