
This turns issues like creating two shared ptrs from a single raw ptr from popping up at runtime, instead making them a compile error. Signed-off-by: flow <flowlnlnln@gmail.com>
18 lines
384 B
C++
18 lines
384 B
C++
#include "Offline.h"
|
|
|
|
#include "minecraft/auth/steps/OfflineStep.h"
|
|
|
|
OfflineRefresh::OfflineRefresh(
|
|
AccountData *data,
|
|
QObject *parent
|
|
) : AuthFlow(data, parent) {
|
|
m_steps.append(makeShared<OfflineStep>(m_data));
|
|
}
|
|
|
|
OfflineLogin::OfflineLogin(
|
|
AccountData *data,
|
|
QObject *parent
|
|
) : AuthFlow(data, parent) {
|
|
m_steps.append(makeShared<OfflineStep>(m_data));
|
|
}
|