From 373bc208ff8f7eceecd944114cd729b5a348d918 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 3 Nov 2020 19:40:42 +0000 Subject: Move FilePosition to fileutils.h and use in ConfigTag. --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index e8c0e4c56..efe91c4bb 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1239,7 +1239,7 @@ ConnectClass::ConnectClass(std::shared_ptr tag, char t, const std::st // Connect classes can inherit from each other but this is problematic for modules which can't use // ConnectClass::Update so we build a hybrid tag containing all of the values set on this class as // well as the parent class. - config = std::make_shared(tag->tag, tag->src_name, tag->src_line); + config = std::make_shared(tag->tag, tag->source); for (const auto& [key, value] : parent->config->GetItems()) { // The class name and parent name are not inherited -- cgit v1.3.1-10-gc9f91